Module: Kind::ImmutableAttributes

Defined in:
lib/kind/immutable_attributes.rb,
lib/kind/immutable_attributes/reader.rb,
lib/kind/immutable_attributes/initializer.rb

Defined Under Namespace

Modules: ClassMethods, Initializer, Reader

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



28
29
30
31
32
# File 'lib/kind/immutable_attributes.rb', line 28

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, Reader)
  base.send(:include, Initializer)
end