Class: Ole::Types::Data

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

Overview

for anything that we don’t have serialization code for

Class Method Summary collapse

Methods inherited from String

#indexes

Class Method Details

.dump(str) ⇒ Object



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

def self.dump str
	str.to_s
end

.load(str) ⇒ Object



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

def self.load str
	new str
end