Sha256: dcea1c097ca2d9e196914a8041e7bc7c555791cc11c155357142601c78980783
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes class BitString < Arel::Nodes::Node attr_reader :str def initialize(str) super() @str = str end end end module Visitors class ToSql def visit_Arel_Nodes_BitString(o, collector) collector << "B'#{o.str[1..-1]}'" end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arel_toolkit-0.3.0 | lib/arel/extensions/bit_string.rb |
arel_toolkit-0.2.0 | lib/arel/extensions/bit_string.rb |