What it exactly do these do ( RubyXL::Parser.parse and Roo::Excelx.new) when opening a file?

Do they open a file and load it into memory?

I’m asking because it seems to take a long time opening a file but after
opens looping into the variable is REALLY fast, could someone explain me
tell me where can I find an explanaition on how this sort of things

Usually the simplest way to learn how a gem works internally is to go
and read the source code. This should be available in the gem files, on
a github repository, or in the documentation.

I haven’t examined Roo, but you can see RubyXL reading the file into
memory here:

I’m asking because I’m new to both ruby and rails and my knowledge is
enough to understand source code

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs