Class: Ronin::SQL::UnaryExpr

Inherits:
Struct
  • Object
show all
Includes:
Emittable
Defined in:
lib/ronin/sql/unary_expr.rb

Overview

Represents a unary expression in SQL.

Instance Attribute Summary collapse

Method Summary

Methods included from Emittable

#emitter, #inspect, #to_s, #to_sql

Instance Attribute Details

#operandObject

Returns the value of attribute operand

Returns:

  • (Object)

    the current value of operand



32
33
34
# File 'lib/ronin/sql/unary_expr.rb', line 32

def operand
  @operand
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



32
33
34
# File 'lib/ronin/sql/unary_expr.rb', line 32

def operator
  @operator
end