module Stella module Guidelines extend self AFE = "Always fail early" ABA = "Always be accurate" CBC = "Consistency before cuteness" NDP = "No defensive programming" def inspect all = Stella::Guidelines.constants g = all.collect { |c| '%s="%s"' % [c, const_get(c)] } %q{#} % [self.object_id, g.join(' ')] end end end p Stella::Guidelines if __FILE__ == $0