I understand that even though you can define variables and methods at the
top level of Ruby like:

a = "hello"

def test
  p "test"
end

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:

class Object
  a = "hello"
  def test
    p "test"
  end
end

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?

tia,

--
Justin Johnson.