Class: Ronin::SQL::Literal

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

Overview

Represents SQL literals.

Instance Attribute Summary collapse

Method Summary

Methods included from Emittable

#emitter, #inspect, #to_s, #to_sql

Methods included from Operators

#!, #!=, #%, #&, #*, #+, #+@, #-, #-@, #/, #<, #<<, #<=, #==, #>, #>=, #>>, #and, #as, #glob, #in, #is, #is_not, #like, #match, #not, #or, #regexp, #|, #~

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



33
34
35
# File 'lib/ronin/sql/literal.rb', line 33

def value
  @value
end