_enum_methods_module should be kept private
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user