I have a module named X

module X

end

I would like to call one method from another in my module.

If I do

public
def method1
...
method2
end

private
def method2
...
end

why doesn't this work?  Is it because this isn't a class and the 
"private" keyword isn't meaningful?

Thanks,
Wes

-- 
Posted via http://www.ruby-forum.com/.