class Perpetuity::Postgres::Expression
Public Class Methods
new(string)
click to toggle source
# File lib/perpetuity/postgres/expression.rb, line 4 def initialize string @string = string end
Public Instance Methods
==(other)
click to toggle source
# File lib/perpetuity/postgres/expression.rb, line 16 def == other other.is_a?(self.class) && to_sql == other.to_sql end
to_s()
click to toggle source
# File lib/perpetuity/postgres/expression.rb, line 12 def to_s @string end
to_sql()
click to toggle source
# File lib/perpetuity/postgres/expression.rb, line 8 def to_sql @string end