Method: ActiveSet::AttributeInstruction#operator
- Defined in:
- lib/active_set/attribute_instruction.rb
#operator ⇒ Object
35 36 37 38 39 40 |
# File 'lib/active_set/attribute_instruction.rb', line 35 def operator return @operator if defined? @operator attribute_instruction = @keypath.last @operator = attribute_instruction[operator_regex, 1]&.to_sym end |