we all know you can do $someName = SomeClass.new()
But what if you had:
CODE
def class SomeClass
def initialize
end
#bunch of methods and code
end
and wanted to make it so that instead of going SomeClass.new all the time or $someName = someClass.new in script calls or scripts you extend or create you would go $someName.new or $someName.someMethodCall
Where in the above code example would I create the global variable?