summaryrefslogtreecommitdiffhomepage
path: root/ruby.html.markdown
Commit message (Collapse)AuthorAgeLines
* [ruby/en] bitwise xor operatorAndrew Backes2015-10-15-0/+1
| | | Basic arithmetic bitwise xor operator example
* Fix header to hopefully bring back ruby to the site.Levi Bostian2015-10-14-2/+1
|
* Merge pull request #1392 from ghalley/updatesLevi Bostian2015-10-12-0/+10
|\ | | | | [ruby/en] Add modulus, array.first, array.last, and each_with_index
| * Fix puts typoGabriel Halley2015-10-09-1/+1
| |
| * Add ghalley as ruby contributorGabriel Halley2015-10-07-0/+1
| |
| * ruby each with indexGabriel Halley2015-10-07-0/+6
| |
| * array first and last methodsGabriel Halley2015-10-07-0/+2
| |
| * add modulus operatorGabriel Halley2015-10-07-0/+1
| |
* | Merge pull request #1374 from kalebdavis/patch-2Levi Bostian2015-10-09-0/+13
|\ \ | | | | | | Add information about mapping arrays
| * | Add information about mapping arraysKaleb Davis2015-10-06-0/+13
| |/
* / Update ruby.html.markdownKaleb Davis2015-10-06-1/+7
|/
* Reverse an arrayChashmeet Singh2015-10-05-1/+1
|
* Reverse a listChashmeet Singh2015-10-05-2/+2
|
* Reverse an arrayChashmeet Singh2015-10-05-0/+4
|
* Add #push to Array besides shovel operatorArthur Vieira2015-08-26-0/+2
| | | #push is commonly used imho and it is also used in other languages (e.g. Javascript).
* Fix explanation of "and" and "or" in ruby.Geoff Liu2015-06-16-4/+8
|
* add to ruby contributorsRahil Momin2015-03-19-0/+1
|
* add has_key? and has_value? methods on hashesRahil Momin2015-03-19-0/+4
|
* add include? method on arraysRahil Momin2015-03-19-0/+3
|
* Add logical operators to Ruby tutorialGeoff Liu2015-03-04-4/+13
|
* TypoKevin Busby2014-11-20-1/+1
| | | | Typo: “addition” corrected to “edition”.
* Add colon to introduce the exception handling sectionLevi Bostian2014-11-11-1/+1
|
* Add Ruby exceptions.Levi Bostian2014-11-10-0/+14
|
* Make style fixes to conform to ruby style guideDzianis Dashkevich2014-08-19-51/+51
| | | | | Made style fixes to conform to Ruby style guide. Added a reference to a community-driven Ruby coding style guide.
* fixed spaceAriel2014-03-10-2/+2
|
* Added some example code and resources.Ariel2014-03-10-0/+32
|
* Ruby: Adds attr_accessor, attr_reader, and attr_writer to class docsDavid Underwood2013-12-01-0/+7
|
* Corrects Array#[,] entryJake Romer2013-11-20-2/+2
| | | The #[i,l] method returns a subarray starting at index i and continuing for length l. [source](http://ruby-doc.org/core-1.9.3/Array.html#method-i-5B-5D)
* ADD: "&" and "*" use cases in function parametersMarcin Wawrzyniak2013-09-29-0/+12
|
* Added module extension and inclusion examplesMatthew Johnston2013-09-08-0/+51
| | | | | Also added examples for callbacks made when modules are included and extended.
* Adding explanation about variables scope and namingMarcos Brizeno2013-08-30-0/+18
|
* Fix a missing character in the comment.Geoffrey Roguelon2013-08-14-3/+3
| | | | remove useless whitespace at the end of the lines.
* Giving myself some credit... I guessNick LaMuro2013-08-13-0/+1
|
* Fixes spacing issuesNick LaMuro2013-08-13-3/+4
|
* Fixes array typosNick LaMuro2013-08-13-2/+2
|
* Tidy up wordingTristan Hume2013-08-12-8/+8
|
* Explain blocks betterTristan Hume2013-08-12-6/+18
|
* fix indentation by 2 spacesm5o2013-08-08-30/+30
|
* Ruby. Difference between class instance variables and class variablesgreybird2013-08-07-0/+46
|
* Fixed comment styleLuke Holder2013-07-30-2/+2
|
* Updated location, and reduced examplesLuke Holder2013-07-30-17/+12
| | | also added array [] access example.
* Explained syntactic sugar is really just method calls.Luke Holder2013-07-29-0/+18
| | | Objects in ruby receive a message via the . (dot) notation. The arithmetic operators are just syntactic sugar of the . message notation.
* An an example of an instance variable assignmentAlexander Zhuravlev2013-07-17-0/+2
|
* Remove end-of-line colonTroels Thomsen2013-07-10-1/+1
|
* Merge pull request #110 from noahlz/masterAdam Bard2013-07-07-2/+4
|\ | | | | Minor fixes to ruby.html
| * case statement needs end. Also added elsenoahlz2013-07-07-1/+3
| |
| * s/$/#/ typonoahlz2013-07-05-1/+1
| |
* | Merge pull request #108 from davefp/patch-3Adam Bard2013-07-07-0/+1
|\ \ | | | | | | Get rid of nasty infinite loop in while example
| * | Get rid of nasty infinite loop in while exampleDavid Underwood2013-07-05-0/+1
| |/
* / Ruby: nil != falseAlexei Sholik2013-07-05-5/+6
|/ | | Instead of saying `nil == false` (which is incorrect), show that negating `nil` and `false` produces `true`. Negating anything else will produce `false`.