Classes: Base, Nested
6 7 8 9 10 11 12
# File 'lib/manacle/constraint/actuator.rb', line 6 def build(subject, constraint) if subject.class < Constraint Actuator::Nested.new(subject.actuator, constraint) else Actuator::Base.new(subject, constraint) end end