29.11.06

Geek-Notes

Aus dem Quelltext vom YAML-Modul. Also auf jedem Rechner mit installiertem Ruby 1.8.4 in lib/ruby/1.8/yaml.rb

# ryan:: You know how Kernel.p is a really convenient way to dump ruby
#        structures?  The only downside is that it's not as legible as
#        YAML.
#
# _why:: (listening)
#
# ryan:: I know you don't want to urinate all over your users' namespaces.
#        But, on the other hand, convenience of dumping for debugging is,
#        IMO, a big YAML use case.
#
# _why:: Go nuts!  Have a pony parade!
#
# ryan:: Either way, I certainly will have a pony parade.

0 Kommentar(e):

  • Eigenen Senf ablassen

Zur Hauptseite