Method: Ezframe::TypeBase#initialize
- Defined in:
- lib/ezframe/column_type.rb
#initialize(attr = nil) ⇒ TypeBase
Returns a new instance of TypeBase.
25 26 27 28 |
# File 'lib/ezframe/column_type.rb', line 25 def initialize(attr = nil) @attribute = attr || {} @value = @attribute[:default] end |