Module: Objectmancy

Defined in:
lib/objectmancy.rb,
lib/objectmancy/types.rb,
lib/objectmancy/errors.rb,
lib/objectmancy/version.rb,
lib/objectmancy/hashable.rb,
lib/objectmancy/objectable.rb,
lib/objectmancy/attribute_options.rb,
lib/objectmancy/common_class_methods.rb

Overview

Namespace for all Objectmancy functionality Also serves as a mixin to include Objectable

Defined Under Namespace

Modules: CommonClassMethods, Hashable, Objectable, Types Classes: AttributeAlreadyDefinedError, AttributeOptions

Constant Summary collapse

VERSION =

Version of the gem

'2.0.0'.freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/objectmancy.rb', line 7

def self.included(base)
  base.include(Objectable)
  base.include(Hashable)
end