Hi - I’m new to ruby and trying to write some classes to help me with my
work. What I’m trying to figure out is how to access the class methods
from other files. Say that my class is
Then in another file (same dir) I’d do:
f = example.method_1
Is this correct?
Also, I want to test my class - where do I add the:
if FILE = $0