From: Brian Candler Date: 2010-02-22T02:24:19+09:00 Subject: Re: Exit method? Robert Klemme wrote: > So, finally the answer to your question is "both". :-) A similar concept you can use is module_function, which can be used as both "class method" of the module itself, and instance method in classes which include the module. module Foo def bar puts "Hello" end module_function :bar end Foo.bar # "Hello" class Baz include Foo def initialize bar end end Baz.new # "Hello" -- Posted via http://www.ruby-forum.com/.