Sha256: 8ff0cfe835f24ad4661ecf9d097a8e260d5b80cdf0d3c48e94401bc060e106cf

Contents?: true

Size: 230 Bytes

Versions: 8

Compression:

Stored size: 230 Bytes

Contents

module Arel
  module Sql
    module ObjectExtensions
      def to_sql(formatter)
        formatter.scalar self
      end

      def equality_predicate_sql
        '='
      end

      Object.send(:include, self)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
arel-0.3.3 lib/arel/engines/sql/core_extensions/object.rb
arel-0.3.2 lib/arel/engines/sql/core_extensions/object.rb
arel-0.3.1 lib/arel/engines/sql/core_extensions/object.rb
arel-0.3.0 lib/arel/engines/sql/core_extensions/object.rb
arel-0.2.1 lib/arel/engines/sql/core_extensions/object.rb
arel-0.2.0 lib/arel/engines/sql/core_extensions/object.rb
arel-0.2.pre lib/arel/engines/sql/core_extensions/object.rb
arel-0.1.2 lib/arel/engines/sql/core_extensions/object.rb