From: Chris Hulan Date: 2011-10-21T21:38:36+09:00 Subject: Re: When is a method known to Ruby? ... >  module Foo > >    CONSTANT_1 = 'bla' >    CONSTANT_2 = foo('bla') > >    def self.foo(i) # i is a string that will be shortened. As Robert described, the call to foo in assignment to CONSTANT_2 occurs before foo is defined cheers