Module: Glossarist::Utilities::Enum
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Classes: EnumCollection
Class Method Summary
collapse
Class Method Details
.extended(base) ⇒ Object
15
16
17
18
|
# File 'lib/glossarist/utilities/enum.rb', line 15
def self.extended(base)
base.include(InstanceMethods)
base.extend(ClassMethods)
end
|
.included(base) ⇒ Object
10
11
12
13
|
# File 'lib/glossarist/utilities/enum.rb', line 10
def self.included(base)
base.include(InstanceMethods)
base.extend(ClassMethods)
end
|