Class: BinaryParser::Expression::Token::Operator::Div
- Inherits:
-
BinaryParser::Expression::Token::Operator
- Object
- BinaryParser::Expression
- BinaryParser::Expression::Token
- BinaryParser::Expression::Token::Operator
- BinaryParser::Expression::Token::Operator::Div
- Defined in:
- lib/binary_parser/general_class/expression.rb
Instance Method Summary collapse
Methods inherited from BinaryParser::Expression::Token
Methods inherited from BinaryParser::Expression
#%, #*, #+, #-, #/, #binary_op, #coerce, control_var, #control_var?, #eval, immediate, #immediate?, #initialize, length_var, #length_var?, nextbits_var, #nextbits_var?, #to_exp, value_var, #value_var?, #variable_tokens
Constructor Details
This class inherits a constructor from BinaryParser::Expression::Token
Instance Method Details
#operate(op1, op2) ⇒ Object
193 194 195 |
# File 'lib/binary_parser/general_class/expression.rb', line 193 def operate(op1, op2) op1 / op2 end |