class Identifier

Public Instance Methods

_empty_placeholder?() click to toggle source
# File lib/eno/expressions.rb, line 255
def _empty_placeholder?
  m = @members[0]
  Symbol === m && m == :_
end
method_missing(sym) click to toggle source
Calls superclass method
# File lib/eno/expressions.rb, line 250
def method_missing(sym)
  super if sym == :to_hash
  Identifier.new("#{@members[0]}.#{sym}")
end
to_sql(sql) click to toggle source
# File lib/eno/expressions.rb, line 246
def to_sql(sql)
  sql.quote(@members[0].to_sym)
end