Class: DBF::ColumnType::Memo
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#blank_value, #initialize, #skip_blank?
Constructor Details
This class inherits a constructor from DBF::ColumnType::Base
Instance Method Details
#decode(raw) ⇒ Object
127 128 129 130 |
# File 'lib/dbf/column_type.rb', line 127 def decode(raw, &) memo_content = yield(raw) memo_content ? type_cast(memo_content) : nil end |