Code like song
I had no idea that numbers in Ruby were so emotional:
$ irb
ruby-1.9.2-p290 :001 > 5.public_methods.sort
=> [:!, :!=, :!~, :%, :&, :*, :**, :+, :+@, :-, :-@, :/, :<, :<<, :<=,
:<=>, :==, :===, :=~, :>, :>=, :>>, :[], :^, :__id__, :__send__, :abs,
. . .
:untrusted?, :upto, :zero?, :|, :~]
ruby-1.9.2-p290 :002 >
blog comments powered by Disqus
Prev: best_in_place Javascript Callbacks
Next: Simple Chef Solo Tutorial