Class: ActiveRecord::ConnectionAdapters::SQLServer::Type::UnicodeChar
- Inherits:
-
UnicodeString
- Object
- Type::String
- String
- UnicodeString
- ActiveRecord::ConnectionAdapters::SQLServer::Type::UnicodeChar
- Defined in:
- lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from String
Instance Method Details
#sqlserver_type ⇒ Object
12 13 14 15 16 17 |
# File 'lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb', line 12 def sqlserver_type "nchar".yield_self do |type| type += "(#{limit})" if limit type end end |
#type ⇒ Object
8 9 10 |
# File 'lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb', line 8 def type :nchar end |