Module: Marshal
- Defined in:
- lib/core_extended/marshal.rb
Class Method Summary collapse
Class Method Details
.decode64(string) ⇒ Object
7 8 9 |
# File 'lib/core_extended/marshal.rb', line 7 def self.decode64(string) load(Base64.decode64(string)) end |
.encode64(object) ⇒ Object
3 4 5 |
# File 'lib/core_extended/marshal.rb', line 3 def self.encode64(object) Base64.encode64(dump(object)) end |