Class: Cattributes

Inherits:
Object
  • Object
show all
Defined in:
lib/kittyverse/cattributes.rb

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object

add cattributes (traits) type lookup to Cattribute itself - why? why not?



7
# File 'lib/kittyverse/cattributes.rb', line 7

def self.[]( key )  TraitType.find_by_key( key ).cattributes; end