Module: AttrExtrasExt::Mixin

Defined in:
lib/locomotive/common/attr_extras_ext.rb

Instance Method Summary collapse

Instance Method Details

#attr_accessor_initialize(*names, &block) ⇒ Object



12
13
14
15
# File 'lib/locomotive/common/attr_extras_ext.rb', line 12

def attr_accessor_initialize(*names, &block)
  attr_initialize(*names, &block)
  attr_accessor(*AttrExtras::Utils.flat_names(names))
end