udat 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/udat.rb +3 -2
  2. metadata +1 -1
data/lib/udat.rb CHANGED
@@ -967,9 +967,10 @@ class IO
967
967
  def read_udat
968
968
  Udat.read_from_stream(self)
969
969
  end
970
- # Calls object.write_to_stream(self).
970
+ # Calls Udat#write_to_stream(self), after converting the object to an
971
+ # Udat object by calling Object#to_udat.
971
972
  def write_udat(object)
972
- object.write_to_stream(self)
973
+ object.to_udat.write_to_stream(self)
973
974
  end
974
975
  end
975
976
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: udat
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.2
6
+ version: 1.1.3
7
7
  date: 2007-05-24 00:00:00 +00:00
8
8
  summary: Parser and generator for UDAT documents, a generic data format similar to XML or YAML.
9
9
  require_paths: