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 |
|
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 |
|
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 |
|