I understand that even though you can define variables and methods at the
top level of Ruby like:
a = “hello”
these are actually at ‘Object’ level. Does this mean that there is scope
open for ‘Object’ at the very top level?
Is the above the same as:
a = "hello"
How does executing code for the first example differ from executing the code
within a class? Does it even?
At the top level, where is the code being executed?