Commit Graph

79 Commits

Author SHA1 Message Date
Ryan Plant
236cc1c14c Fix formatting on comments 2016-01-26 11:59:08 +11:00
Ryan Plant
b9c1502cab Add note on method naming conventions 2016-01-26 11:58:46 +11:00
Ryan Plant
0f5c74a79f Add note on destructuring assignment 2016-01-26 11:52:06 +11:00
Ryan Plant
82cb669cd7 Fix typo 2016-01-26 11:44:47 +11:00
Geoff Liu
6e7ca40bae Merge pull request #1800 from volcov/add-ruby-reference
[ruby/en] add a cool reference for learn Ruby =)
2016-01-04 13:46:13 -07:00
Bruno Volcov
746df3268a remove contributors name 2016-01-04 17:28:36 -02:00
Spurlow
98e2cf0ea3 Merge pull request #1977 from BlueAccords/patch-2
Added new ruby resource
2015-11-27 11:51:04 +07:00
Leslie Zhang
e7dc56273f Replace Hash#has_key? with Hash#key?
1. Replace Hash#has_key? with Hash#key?
2. Replace Hash#has_value? with Hash#value?
2015-11-23 09:14:49 +08:00
Jake Faris
b13bb0ce47 adds JF to authors 2015-11-02 10:06:01 -05:00
Spurlow
9d72815ea1 Merge pull request #1793 from kethomassen/patch-1
Fixed typo in docs
2015-11-02 19:09:45 +08:00
Ryan
f10292ed98 Added new ruby resource 2015-10-31 16:55:25 -07:00
Adam Bard
aa4631e4b8 Merge pull request #1908 from farisj/ruby-add-bitwise-operators
Adds bitwise operators (AND, OR, XOR)
2015-10-31 19:04:51 +08:00
Jake Faris
33337d045d Adds bitwise operators (AND, OR, XOR) 2015-10-30 10:22:23 -04:00
Jake Faris
ec601c168a Adds combined comparison operator to Ruby 2015-10-30 10:17:15 -04:00
Bruno Volcov
5acb0c1a60 add a cool reference for learn Ruby =) 2015-10-26 17:23:27 -02:00
Kristian
d41fdbcba9 Fixed typo in docs
+ Added a better description for 'nil'
2015-10-26 17:56:28 +10:00
Levi Bostian
4fffeac272 Merge pull request #1552 from adback03/master
ruby and csharp code example updates
2015-10-18 12:07:05 -05:00
Persa
a875e6d589 Fixes output on combining strings and operators 2015-10-17 12:16:14 -04:00
Persa Zula
1ae02fc6cf Adds more string operations to ruby doc 2015-10-17 11:25:05 -04:00
Andrew Backes
46c37fd745 [ruby/en] bitwise xor operator
Basic arithmetic bitwise xor operator example
2015-10-15 23:02:03 -05:00
Levi Bostian
b4535eaae3 Fix header to hopefully bring back ruby to the site. 2015-10-14 09:45:13 -05:00
Levi Bostian
574b7faf50 Merge pull request #1392 from ghalley/updates
[ruby/en] Add modulus, array.first, array.last, and each_with_index
2015-10-12 23:00:09 -05:00
Gabriel Halley
7b4d529c5e Fix puts typo 2015-10-09 11:47:13 -04:00
Levi Bostian
4bb350473f Merge pull request #1374 from kalebdavis/patch-2
Add information about mapping arrays
2015-10-09 10:02:59 -05:00
Gabriel Halley
6fce99b0ee Add ghalley as ruby contributor 2015-10-07 15:40:31 -04:00
Gabriel Halley
3b0bc74c56 ruby each with index 2015-10-07 15:26:25 -04:00
Gabriel Halley
f4c13bc696 array first and last methods 2015-10-07 15:26:10 -04:00
Gabriel Halley
e3c528bb81 add modulus operator 2015-10-07 15:25:50 -04:00
Kaleb Davis
d73584cc9a Add information about mapping arrays 2015-10-06 21:06:44 -04:00
Kaleb Davis
f165e721ce Update ruby.html.markdown 2015-10-06 20:55:51 -04:00
Chashmeet Singh
0beb78ac43 Reverse an array 2015-10-05 20:32:00 +05:30
Chashmeet Singh
51e3bd21e2 Reverse a list 2015-10-05 20:22:07 +05:30
Chashmeet Singh
cae1960ca3 Reverse an array 2015-10-05 17:51:23 +05:30
Arthur Vieira
c00ac0de66 Add #push to Array besides shovel operator
#push is commonly used imho and it is also used in other languages (e.g. Javascript).
2015-08-26 03:15:36 -03:00
Geoff Liu
7070304d60 Fix explanation of "and" and "or" in ruby. 2015-06-16 12:54:54 -06:00
Rahil Momin
1246edea3f add to ruby contributors 2015-03-19 15:38:27 +05:30
Rahil Momin
37c00223d0 add has_key? and has_value? methods on hashes 2015-03-19 15:38:16 +05:30
Rahil Momin
1b1d10e2d9 add include? method on arrays 2015-03-19 15:37:42 +05:30
Geoff Liu
081deac4b1 Add logical operators to Ruby tutorial 2015-03-04 16:56:23 -07:00
Kevin Busby
f25d54b06b Typo
Typo: “addition” corrected to “edition”.
2014-11-20 16:26:56 +00:00
Levi Bostian
1c4cbd279e Add colon to introduce the exception handling section 2014-11-11 13:06:57 -06:00
Levi Bostian
9ddc2d0a5b Add Ruby exceptions. 2014-11-10 19:45:17 -06:00
Dzianis Dashkevich
b249363a99 Make style fixes to conform to ruby style guide
Made style fixes to conform to Ruby style guide.
Added a reference to a community-driven Ruby coding style guide.
2014-08-19 12:17:27 +03:00
Ariel
933cf6f10d fixed space 2014-03-10 18:06:44 -04:00
Ariel
d25c10969d Added some example code and resources. 2014-03-10 17:05:49 -04:00
David Underwood
02044c1eab Ruby: Adds attr_accessor, attr_reader, and attr_writer to class docs 2013-12-01 21:43:48 -05:00
Jake Romer
9a60d0a6e4 Corrects Array#[,] entry
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)
2013-11-20 05:38:46 -05:00
Marcin Wawrzyniak
239595fc59 ADD: "&" and "*" use cases in function parameters 2013-09-29 18:15:16 +01:00
Matthew Johnston
9cc1982c48 Added module extension and inclusion examples
Also added examples for callbacks made when modules are included
and extended.
2013-09-08 11:46:08 -05:00
Marcos Brizeno
e13b5111d5 Adding explanation about variables scope and naming 2013-08-30 21:58:23 -03:00