Archive for the 'Ruby Reference' Category

Really compact Ruby quick reference guide

Hello World in Ruby General Rules Comments start with # and ends with newline Newlines or semicolon can be used separate expressions Everything in Ruby is an object. This includes constants such as 5 Since even operators are methods, they can be overridden Elegant code can be written using blocks feature Ruby Keywords alias and […]