Class: Cattributes
- Inherits:
-
Object
- Object
- Cattributes
- Defined in:
- lib/kittyverse/cattributes.rb
Class Method Summary collapse
-
.[](key) ⇒ Object
add cattributes (traits) type lookup to Cattribute itself - why? why not?.
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 |