Module: Attributary::DSL

Included in:
All
Defined in:
lib/attributary/dsl.rb,
lib/attributary/dsl/error.rb,
lib/attributary/dsl/helpers.rb,
lib/attributary/dsl/castings.rb,
lib/attributary/dsl/accessors.rb,
lib/attributary/dsl/validations.rb

Defined Under Namespace

Modules: Accessors, Castings, ClassMethods, Helpers, InstanceMethods, Validations Classes: AttributaryError

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
13
# File 'lib/attributary/dsl.rb', line 10

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