Module: Representable::Feature

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#feature(*mods) ⇒ Object


111
112
113
114
115
116
# File 'lib/representable.rb', line 111

def feature(*mods)
  mods.each do |mod|
    include mod
    register_feature(mod)
  end
end