class GitHub::SQL::Literal
Internal: a SQL
literal value.
Attributes
value[R]
Public: the string value of this literal
Public Class Methods
new(value)
click to toggle source
# File lib/github/sql/literal.rb, line 8 def initialize(value) @value = value.to_s.dup.freeze end
Public Instance Methods
bytesize()
click to toggle source
# File lib/github/sql/literal.rb, line 16 def bytesize value.bytesize end
inspect()
click to toggle source
# File lib/github/sql/literal.rb, line 12 def inspect "<#{self.class.name} #{value}>" end