_enum_methods_module should be kept private

This commit is contained in:
Godfrey Chan 2013-12-05 18:12:42 -08:00
parent fa414e6877
commit 4b5e91956a

@ -88,12 +88,13 @@ def enum(definitions)
end
end
def _enum_methods_module
@_enum_methods_module ||= begin
mod = Module.new
include mod
mod
private
def _enum_methods_module
@_enum_methods_module ||= begin
mod = Module.new
include mod
mod
end
end
end
end
end