Module: Representable::Feature

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#feature(*mods) ⇒ Object



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

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