Class: Dryv::Rules::Binary

Inherits:
Dryv::Rule show all
Defined in:
lib/dryv/rules/binary.rb

Instance Attribute Summary

Attributes inherited from Dryv::Rule

#args, #errors, #value

Instance Method Summary collapse

Methods inherited from Dryv::Rule

#+, #add_error, #and, #clone, #initialize, #name, #or, #then, #valid?

Constructor Details

This class inherits a constructor from Dryv::Rule

Instance Method Details

#leftObject



10
11
12
# File 'lib/dryv/rules/binary.rb', line 10

def left
  value
end

#rightObject



5
6
7
# File 'lib/dryv/rules/binary.rb', line 5

def right
  args[:right]
end