diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 09:19:53 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 09:19:53 +0900 |
| commit | 298c07d6ca246e1fb876c77cd93aee81108a7c6c (patch) | |
| tree | 82d78fd6d1286b11e6ad7bc2c3817b50965b02a1 | |
| parent | 45b0e1f788e9085be5039bb4b83aa4bbfaa2d1ca (diff) | |
| download | mruby-298c07d6ca246e1fb876c77cd93aee81108a7c6c.tar.gz mruby-298c07d6ca246e1fb876c77cd93aee81108a7c6c.zip | |
add Hash#each_pair
| -rw-r--r-- | mrbgems/mruby-hash-ext/mrblib/hash.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mrbgems/mruby-hash-ext/mrblib/hash.rb b/mrbgems/mruby-hash-ext/mrblib/hash.rb index 3fb83abba..3d512b574 100644 --- a/mrbgems/mruby-hash-ext/mrblib/hash.rb +++ b/mrbgems/mruby-hash-ext/mrblib/hash.rb @@ -10,4 +10,6 @@ class Hash end self end + + alias each_pair each end |
