strange…
class Whatever
…
def show
y self.to_yaml
end
end
s = Whatever.new
s.show
the print out shows a bunch of ‘\n’ rather then actually making new lines. bug?
strange…
class Whatever
…
def show
y self.to_yaml
end
end
s = Whatever.new
s.show
the print out shows a bunch of ‘\n’ rather then actually making new lines. bug?
It’s just the way it’s representing the output. I think you’ll find
that the behavior (loading and unloading the YAML representation) is
fine.
David
On Wed, 12 Nov 2003, T. Onoma wrote:
strange…
class Whatever
…
def show
y self.to_yaml
end
end
s = Whatever.new
s.showthe print out shows a bunch of ‘\n’ rather then actually making new
lines. bug?
–
David Alan Black
home: dblack@wobblini.net # New email address
work: blackdav@shu.edu
Web: http://pirate.shu.edu/~blackdav