Module: Manacle::Constraint

Defined in:
lib/manacle/constraint.rb,
lib/manacle/constraint/method.rb,
lib/manacle/constraint/actuator.rb,
lib/manacle/constraint/actuator/base.rb,
lib/manacle/constraint/actuator/nested.rb

Overview

Include this, and magically each of your decorators will get a time attached, as well as delegation to all the modules contained therein.

You can then override the parts of Time you want to change.

Defined Under Namespace

Modules: Actuator, InstanceMethods, Method

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



64
65
66
67
68
# File 'lib/manacle/constraint.rb', line 64

def self.included(base)
  base.instance_eval do
    include InstanceMethods
  end
end