Module: ObjectTable::Factory

Extended by:
Forwardable
Included in:
ObjectTable
Defined in:
lib/object_table/factory.rb

Defined Under Namespace

Modules: ClassMethods, SubFactory

Constant Summary collapse

CLASS_MAP =
{
'__static_view_cls__' => 'StaticView',
'__view_cls__'        => 'View',
'__group_cls__'       => 'Group',
}.freeze
FACTORIES =
(CLASS_MAP.keys + ['__table_cls__']).freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



36
37
38
# File 'lib/object_table/factory.rb', line 36

def self.included(base)
  base.extend(ClassMethods)
end