Let's say I have a class ABC with two methods.
class ABC
def test
"test"
end
def display_test
puts test
end
end
I only want to be able to call ABC.new.display_test
from my console (IRB) (returning me 'test') and not be able to call ABC.new.test
or ABC.new.send(:test)
for that matter. Is this possible? If so, how?