Module: Representable::Feature

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#feature(*mods) ⇒ Object



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

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