Class: Yaks::Mapper::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/yaks/mapper/config.rb

Instance Method Summary collapse

Instance Method Details

#add_attributes(*attrs) ⇒ Object



8
9
10
# File 'lib/yaks/mapper/config.rb', line 8

def add_attributes(*attrs)
  append_to(:attributes, *attrs.map(&Attribute.method(:create)))
end