Module: Stella::Guidelines

Extended by:
Guidelines
Included in:
Guidelines
Defined in:
lib/stella/guidelines.rb

Constant Summary collapse

AFE =
"Always fail early"
ABA =
"Always be accurate"
CBC =
"Consistency before cuteness"
NDP =
"No defensive programming"

Instance Method Summary collapse

Instance Method Details

#inspectObject



10
11
12
13
14
# File 'lib/stella/guidelines.rb', line 10

def inspect
  all = Stella::Guidelines.constants
  g = all.collect { |c| '%s="%s"' % [c, const_get(c)] }
  %q{#<Stella::Guidelines:0x%s %s>} % [self.object_id, g.join(' ')]
end