diff options
Diffstat (limited to 'mrblib/range.rb')
| -rw-r--r-- | mrblib/range.rb | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/mrblib/range.rb b/mrblib/range.rb index 087428c0d..fb217f771 100644 --- a/mrblib/range.rb +++ b/mrblib/range.rb @@ -3,6 +3,11 @@ # # ISO 15.2.14 class Range + ## + # Range is enumerable + # + # ISO 15.2.14.3 + include Enumerable ## # Calls the given block for each element of +self+ @@ -80,11 +85,3 @@ class Range end alias entries to_a end - -## -# Range is enumerable -# -# ISO 15.2.14.3 -class Range - include Enumerable -end |
