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

Version Path
solutious-rudy-0.9.0 lib/rudy/guidelines.rb
solutious-rudy-0.9.1 lib/rudy/guidelines.rb
solutious-rudy-0.9.2 lib/rudy/guidelines.rb
solutious-rudy-0.9.3 lib/rudy/guidelines.rb
solutious-rudy-0.9.4 lib/rudy/guidelines.rb
rudy-0.9.8.020 lib/rudy/guidelines.rb
rudy-0.9.8.019 lib/rudy/guidelines.rb
rudy-0.9.8.018 lib/rudy/guidelines.rb
rudy-0.9.8.017 lib/rudy/guidelines.rb
rudy-0.9.8.016 lib/rudy/guidelines.rb
rudy-0.9.8.015 lib/rudy/guidelines.rb
rudy-0.9.8.014 lib/rudy/guidelines.rb
rudy-0.9.8.013 lib/rudy/guidelines.rb
rudy-0.9.8.012 lib/rudy/guidelines.rb
rudy-0.9.8.011 lib/rudy/guidelines.rb
rudy-0.9.8.010 lib/rudy/guidelines.rb
rudy-0.9.8.009 lib/rudy/guidelines.rb
rudy-0.9.8.008 lib/rudy/guidelines.rb
rudy-0.9.8.007 lib/rudy/guidelines.rb
rudy-0.9.8.006 lib/rudy/guidelines.rb