Method: Representable::Hash.included
- Defined in:
- lib/representable/hash.rb
.included(base) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/representable/hash.rb', line 9 def self.included(base) base.class_eval do include Representable # either in Hero or HeroRepresentation. extend ClassMethods register_feature Representable::Hash end end |