提交 6413fdeb 编写于 作者: R Rafael Mendonça França

Merge pull request #13210 from chancancode/more_enum_docs

Enum doc fixes
...@@ -88,12 +88,13 @@ def enum(definitions) ...@@ -88,12 +88,13 @@ def enum(definitions)
end end
end end
def _enum_methods_module private
@_enum_methods_module ||= begin def _enum_methods_module
mod = Module.new @_enum_methods_module ||= begin
include mod mod = Module.new
mod include mod
mod
end
end end
end
end end
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册