Method: CleanModel::Attribute#initialize
- Defined in:
- lib/clean_model/attribute.rb
#initialize(name, options = {}) ⇒ Attribute
Returns a new instance of Attribute.
5 6 7 8 |
# File 'lib/clean_model/attribute.rb', line 5 def initialize(name, ={}) @name = symbolize(name) @options = end |