diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-02-06 20:18:45 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-02-06 20:18:45 +0900 |
| commit | 1076bebde77922766d75a440f9dc3352c467f772 (patch) | |
| tree | 2586c98bb5be745e0cfeb92c6adcf519b6c10c64 /mrblib | |
| parent | cb8bbd9e12526b9d0be673afb54ad1ba9270858a (diff) | |
| parent | 6da3cd5d2296b9cd205772851f0a30e3af730c70 (diff) | |
| download | mruby-1076bebde77922766d75a440f9dc3352c467f772.tar.gz mruby-1076bebde77922766d75a440f9dc3352c467f772.zip | |
Merge pull request #4256 from shuujii/move-none-to-mrblib-enum
Move `NONE` to `mrblib/enum.rb`
Diffstat (limited to 'mrblib')
| -rw-r--r-- | mrblib/enum.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrblib/enum.rb b/mrblib/enum.rb index a97a26f97..9bd74e1c4 100644 --- a/mrblib/enum.rb +++ b/mrblib/enum.rb @@ -13,6 +13,8 @@ # @ISO 15.3.2 module Enumerable + NONE = Object.new + ## # Call the given block for each element # which is yield by +each+. Return false |
