Module: Fiveruns::Dash::Typable::ClassMethods
- Defined in:
- lib/fiveruns/dash/typable.rb
Instance Method Summary collapse
Instance Method Details
#inherited(klass) ⇒ Object
20 21 22 |
# File 'lib/fiveruns/dash/typable.rb', line 20 def inherited(klass) types[klass.__send__("#{Fiveruns::Dash::Util.shortname(name)}_type")] = klass end |
#types ⇒ Object
24 25 26 |
# File 'lib/fiveruns/dash/typable.rb', line 24 def types @types ||= {} end |