Module: Representable::Feature

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#feature(*mods) ⇒ Object



121
122
123
124
125
126
# File 'lib/representable.rb', line 121

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