Module: MaskableAttribute::ActsAsMaskableAttribute
- Defined in:
- lib/maskable_attribute/acts_as_maskable_attribute.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#masked_attribute(attribute, options) ⇒ Object
Returns the value of attribute masked_attribute.
Class Method Summary collapse
Instance Attribute Details
#masked_attribute(attribute, options) ⇒ Object
Returns the value of attribute masked_attribute.
44 45 46 |
# File 'lib/maskable_attribute/acts_as_maskable_attribute.rb', line 44 def masked_attribute @masked_attribute end |
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/maskable_attribute/acts_as_maskable_attribute.rb', line 4 def self.included(base) base.send :extend, ClassMethods end |