Module: TypeArray::Marshal
- Defined in:
- lib/type_array/marshal.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
4 5 6 7 8 |
# File 'lib/type_array/marshal.rb', line 4 def self.included(klass) class << klass def _load(str); new(str) end end end |
Instance Method Details
#_dump(obj) ⇒ Object
10 11 12 |
# File 'lib/type_array/marshal.rb', line 10 def _dump(obj) to_s end |