Commit Graph

29 Commits

Author SHA1 Message Date
Geoffrey Roguelon
6062618d35 Fix a missing character in the comment.
remove useless whitespace at the end of the lines.
2013-08-14 22:00:56 +02:00
Nick LaMuro
9fd70ffbb1 Giving myself some credit... I guess 2013-08-13 17:47:52 -05:00
Nick LaMuro
7af884a940 Fixes spacing issues 2013-08-13 17:46:33 -05:00
Nick LaMuro
ea853dfa67 Fixes array typos 2013-08-13 17:42:03 -05:00
Tristan Hume
5c5c8d3c4a Tidy up wording 2013-08-12 15:05:00 -04:00
Tristan Hume
5424b31848 Explain blocks better 2013-08-12 14:53:00 -04:00
m5o
97a99b0ad5 fix indentation by 2 spaces 2013-08-08 12:17:10 +02:00
greybird
80c71ef1c8 Ruby. Difference between class instance variables and class variables 2013-08-07 11:20:20 +04:00
Luke Holder
df90e49572 Fixed comment style 2013-07-30 15:28:40 +08:00
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