class Flounder::Immediate

An immmediate string that needs to be passed around and not quoted or escaped when going to the database.

@private

Attributes

string[R]

Public Class Methods

new(string) click to toggle source
# File lib/flounder/immediate.rb, line 8
def initialize string
  @string = string
end

Public Instance Methods

to_arel_field() click to toggle source
# File lib/flounder/immediate.rb, line 14
def to_arel_field
  Arel::SqlLiteral.new(string)
end