Class: Ole::Types::Data

Inherits:
String
  • Object
show all
Defined in:
lib/ole/types/base.rb

Overview

for anything that we don’t have serialization code for

Class Method Summary collapse

Methods inherited from String

#each_chunk

Class Method Details

.dump(str) ⇒ Object



21
22
23
# File 'lib/ole/types/base.rb', line 21

def self.dump str
	str.to_s
end

.load(str) ⇒ Object



17
18
19
# File 'lib/ole/types/base.rb', line 17

def self.load str
	new str
end