Module: Supernova::AttrInitializer::ClassMethods

Defined in:
lib/supernova/attr_initializer.rb

Instance Method Summary collapse

Instance Method Details

#attr_initializer(*args) ⇒ Object



11
12
13
14
15
# File 'lib/supernova/attr_initializer.rb', line 11

def attr_initializer(*args)
  args.each do |arg|
    attr_accessor arg
  end
end