diff options
| author | Masaki Muranaka <[email protected]> | 2013-03-03 10:54:00 +0900 |
|---|---|---|
| committer | Masaki Muranaka <[email protected]> | 2013-03-03 10:54:00 +0900 |
| commit | 6cd7017ec11b0cbe40e8dbe462e5eda9ad7ce97c (patch) | |
| tree | e9b051e73cc45f58a1ca2964e33228803752e497 /mrblib/enum.rb | |
| parent | bc46c374b40354b1f1320d5bea75fd852d0ea9ed (diff) | |
| download | mruby-6cd7017ec11b0cbe40e8dbe462e5eda9ad7ce97c.tar.gz mruby-6cd7017ec11b0cbe40e8dbe462e5eda9ad7ce97c.zip | |
Remove trailing whitespaces. This is just a cosmetic change.
Diffstat (limited to 'mrblib/enum.rb')
| -rw-r--r-- | mrblib/enum.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mrblib/enum.rb b/mrblib/enum.rb index 2774bc856..0593e1f04 100644 --- a/mrblib/enum.rb +++ b/mrblib/enum.rb @@ -73,7 +73,7 @@ module Enumerable ## # Call the given block for each element # which is yield by +each+. Append all - # values of each block together and + # values of each block together and # return this value. # # ISO 15.3.2.2.3 @@ -89,7 +89,7 @@ module Enumerable # Call the given block for each element # which is yield by +each+. Return # +ifnone+ if no block value was true. - # Otherwise return the first block value + # Otherwise return the first block value # which had was true. # # ISO 15.3.2.2.4 @@ -158,8 +158,8 @@ module Enumerable # Call the given block for each element # which is yield by +each+ and which return # value was true when invoking === with - # +pattern+. Return an array with all - # elements or the respective block values. + # +pattern+. Return an array with all + # elements or the respective block values. # # ISO 15.3.2.2.9 def grep(pattern, &block) @@ -291,9 +291,9 @@ module Enumerable ## # Call the given block for each element - # which is yield by +each+. Return an + # which is yield by +each+. Return an # array which contains two arrays. The - # first array contains all elements + # first array contains all elements # whose block value was true. The second # array contains all elements whose # block value was false. |
