Sha256: b24e92f51d79489611eea10d56b947ef03535b831bbd0a20a1af677f0ff0a82d
Contents?: true
Size: 457 Bytes
Versions: 36
Compression:
Stored size: 457 Bytes
Contents
module Rudy module Guidelines extend self AFE = "Always fail early" ABA = "Always be accurate" CBC = "Consistency before cuteness" UNO = "Ugly's not okay" WOC = "Write offensive code" def inspect all = Guidelines.constants g = all.collect { |c| '%s="%s"' % [c, const_get(c)] } %q{#<Rudy::Guidelines:0x%s %s>} % [self.object_id, g.join(' ')] end end end puts Rudy::Guidelines.inspect if __FILE__ == $0
Version data entries
36 entries across 36 versions & 2 rubygems