Commit Graph

70 Commits

Author SHA1 Message Date
Luke Holder
99e1c31b19 Updated location, and reduced examples
also added array [] access example.
2013-07-30 15:26:51 +08:00
Luke Holder
8c89f3f608 Explained syntactic sugar is really just method calls.
Objects in ruby receive a message via the . (dot) notation. The arithmetic operators are just syntactic sugar of the . message notation.
2013-07-29 16:30:51 +08:00
Alexander Zhuravlev
5267bff2cf An an example of an instance variable assignment 2013-07-17 05:22:32 +04:00
Troels Thomsen
8c1300ba63 Remove end-of-line colon 2013-07-10 19:22:07 +02:00
Adam Bard
f698fb6fbb Merge pull request #110 from noahlz/master
Minor fixes to ruby.html
2013-07-07 23:32:20 -07:00
Adam Bard
cbcf45743a Merge pull request #108 from davefp/patch-3
Get rid of nasty infinite loop in while example
2013-07-07 23:31:53 -07:00
noahlz
d1f9b74644 case statement needs end. Also added else 2013-07-07 18:50:18 -04:00
noahlz
48448599ff s/$/#/ typo 2013-07-05 22:08:46 -04:00
David Underwood
33af584ad4 Get rid of nasty infinite loop in while example 2013-07-05 20:56:02 -04:00
Alexei Sholik
9e4eb846c1 Ruby: nil != false
Instead of saying `nil == false` (which is incorrect), show that negating `nil` and `false` produces `true`. Negating anything else will produce `false`.
2013-07-05 22:18:54 +03:00
Adam
5477292824 Line length edit for ruby 2013-07-03 23:03:25 -07:00
Adam
9ad61b5586 Authors -> Contributors 2013-07-03 22:59:13 -07:00
Adam
3840036912 Ruby updates 2013-07-03 22:53:12 -07:00
David Underwood
2419d8c30a Updates YAML front-matter to match #97 2013-07-03 15:41:06 -04:00
David Underwood
99192fea52 Adds class documentation written by @joelwalden in #95 2013-07-03 15:21:29 -04:00
David Underwood
705e8fd023 Adds emphasis about the object-oriented nature of ruby, and removes references to lesser-used array functions 2013-07-02 13:47:23 -04:00
David Underwood
918123e8ce changes string interpolation text as suggested by @fbernier 2013-07-02 13:24:50 -04:00
David Underwood
07aa1d9337 Adds sections for symbols, hashes, and yields 2013-07-01 12:27:15 -04:00
David Underwood
b9e0c189ee fixes typos in the boolean results 2013-06-29 18:04:37 -04:00
David Underwood
8de5c352bc Initial WIP commit for ruby 2013-06-28 15:57:57 -04:00