Method: SimpleRecord::Attributes::Attribute#initialize
- Defined in:
- lib/simple_record/attributes.rb
#initialize(type, options = nil) ⇒ Attribute
Returns a new instance of Attribute.
413 414 415 416 |
# File 'lib/simple_record/attributes.rb', line 413 def initialize(type, =nil) @type = type @options = end |