Method: Sequel::SQL::Cast#initialize

Defined in:
lib/sequel/sql.rb

#initialize(expr, type) ⇒ Cast

Set the expression and type for the cast

[View source]

1250
1251
1252
1253
1254
# File 'lib/sequel/sql.rb', line 1250

def initialize(expr, type)
  @expr = expr
  @type = type
  freeze
end