EOFError: end of file reached from /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread' from /usr/lib/ruby/1.8/ne…
source : http://www.rubyinside.com/coffeescript-a-new-language-with-a-pure-ruby-compiler-2921.html By Peter Cooper —…
Function calls p parentheses can sometimes be omitted. If you're not sure whether they're req…
When a method is invoked (myobject.mymethod), Ruby first searches for the named method according to this search order: …
What is a block in ruby. A block is a piece of code. However a block has to be attached to something. view source p…
Clousure: A closure is a block of code which meets three criteria: It can be passed around as a value and e…