module Test
def get
y x
end
def x
'x'
end
def y arg
arg + 'y'
end
module_function :get
end
puts Test.get
10:31 $ ruby test.rb
test.rb:3:in `get': undefined local variable or method `x' for Test:Module (NameError)
from test.rb:18:in `<main>'
if I don't want to use Classes in ruby but want to have just collection of functions (some exposed as public and some for internal use only), am I totally doomed? can't find the way to do it