Class: ActiveRecord::ConnectionAdapters::SQLServer::Type::Binary
- Inherits:
-
Type::Binary
- Object
- Type::Binary
- ActiveRecord::ConnectionAdapters::SQLServer::Type::Binary
- Defined in:
- lib/active_record/connection_adapters/sqlserver/type/binary.rb
Instance Method Summary collapse
Instance Method Details
#sqlserver_type ⇒ Object
12 13 14 15 16 17 |
# File 'lib/active_record/connection_adapters/sqlserver/type/binary.rb', line 12 def sqlserver_type "binary".yield_self do |type| type += "(#{limit})" if limit type end end |
#type ⇒ Object
8 9 10 |
# File 'lib/active_record/connection_adapters/sqlserver/type/binary.rb', line 8 def type :binary_basic end |