lib/active_set/instructions/entry.rb in activeset-0.3.1 vs lib/active_set/instructions/entry.rb in activeset-0.4.0
- old
+ new
@@ -8,10 +8,11 @@
class ActiveSet
class Instructions
class Entry
attr_reader :keypath
- delegate :attribute, :operator, :associations_array, :associations_hash, :value_for, :resource_for,
+ delegate :path, :attribute, :operator, :associations_array,
+ :associations_hash, :value_for, :resource_for,
to: :keypath
def initialize(keypath, value)
@keypath = KeyPath.new(keypath)
@value = Value.new(value)