Class: IO
Instance Method Summary collapse
-
#read_udat ⇒ Object
Calls Udat::Node.read_from_stream(self).
-
#write_udat(object) ⇒ Object
Calls Udat::Node#write_to_stream(self), after converting the object to an Udat::Node by calling Object#to_udat.
Instance Method Details
#read_udat ⇒ Object
Calls Udat::Node.read_from_stream(self).
1313 1314 1315 |
# File 'lib/udat.rb', line 1313 def read_udat Udat::Node.read_from_stream(self) end |
#write_udat(object) ⇒ Object
Calls Udat::Node#write_to_stream(self), after converting the object to an Udat::Node by calling Object#to_udat. Returns self.
1318 1319 1320 1321 |
# File 'lib/udat.rb', line 1318 def write_udat(object) object.to_udat.write_to_stream(self) return self end |