mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-struct/struct.rb: include Enumerable module.
Struct.ancestors should be [Struct, Enumerable, Object, Kernel, BasicObject]
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#
|
||||
# ISO 15.2.18
|
||||
class Struct
|
||||
include Enumerable
|
||||
|
||||
##
|
||||
# Calls the given block for each element of +self+
|
||||
|
||||
Reference in New Issue
Block a user