[Nitro] I got some YAML in my Ruby
TRANS
transfire at gmail.com
Mon Oct 2 10:24:35 EDT 2006
Feast your watering eyes on this me loves:
project.announce(&YAML.load(<<-END))
to : ruby-talk at ruby-lang.org
from : transfire at gmail.com
domain : jupiterzeus.net
server : smtp.gmail.com
port : 25
account : transfire at gmail.com
auth : login #cram_md5 #plain
secure : tls # ~, tls, ssl
file : doc/LATEST
slogan : ALL YOUR BASE ARE BELONG TO RUBY!
links:
- http://facets.rubyforge.org
END
To make it even better I'll add some icing:
def yaml(*args)
YAML.load(*args)
end
T.
More information about the Nitro-general
mailing list