Sha256: f74ce2d5cd490ef1c6a250070424fa6dd8abcac9be562fcf3aa7d8f25dbc5938
Contents?: true
Size: 518 Bytes
Versions: 18
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true module Arel # :nodoc: all module Nodes class SqlLiteral < String include Arel::Expressions include Arel::Predications include Arel::AliasPredication include Arel::OrderPredications def encode_with(coder) coder.scalar = self.to_s end def fetch_attribute end def +(other) raise ArgumentError, "Expected Arel node" unless Arel.arel_node?(other) Fragments.new([self, other]) end end end end
Version data entries
18 entries across 18 versions & 4 rubygems