Module: Supernova::AttrInitializer

Included in:
Circle, Coordinate
Defined in:
lib/supernova/attr_initializer.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



18
19
20
21
# File 'lib/supernova/attr_initializer.rb', line 18

def self.included(base)
  base.send(:include, Supernova::AttrInitializer::InstanceMethods)
  base.extend(Supernova::AttrInitializer::ClassMethods)
end