class ActiveRecord::ConnectionAdapters::SQLServer::Type::Char::Data

Public Class Methods

new(value) click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/char.rb, line 19
def initialize(value)
  @value = value.to_s
end

Public Instance Methods

quoted() click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/char.rb, line 23
def quoted
  "'#{Utils.quote_string(@value)}'"
end
to_s() click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/char.rb, line 27
def to_s
  @value
end
Also aliased as: to_str
to_str()
Alias for: to_s