Module: Representable::Feature

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#feature(*mods) ⇒ Object



106
107
108
109
110
111
# File 'lib/representable.rb', line 106

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