Module: BitmaskAttributes
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/bitmask_attributes.rb,
lib/bitmask_attributes/version.rb,
lib/bitmask_attributes/definition.rb,
lib/bitmask_attributes/value_proxy.rb
Defined Under Namespace
Modules: ClassMethods Classes: Definition, ValueProxy
Constant Summary collapse
- VERSION =
"1.0.0".freeze
Instance Method Summary collapse
Instance Method Details
#reload ⇒ Object
47 48 49 50 51 |
# File 'lib/bitmask_attributes.rb', line 47 def reload(*) super self.class.bitmasks.keys.each{|attribute| self.send("reload_#{attribute}")} self end |