Module: HashedAttr::Base::ClassMethods

Defined in:
lib/hashed_attr/base.rb

Instance Method Summary collapse

Instance Method Details

#hashed_attr(*args) ⇒ Object



17
18
19
20
21
22
# File 'lib/hashed_attr/base.rb', line 17

def hashed_attr(*args)

  args.each do |attribute|
    define_hashed_attribute(attribute)
  end
end