Sha256: d095800610bf1e96d641e9ec32fc3c31685e6cd079e8bdb24ab9537ea1ff479e

Contents?: true

Size: 352 Bytes

Versions: 32

Compression:

Stored size: 352 Bytes

Contents

require 'rom/sql/dsl'

module ROM
  module SQL
    # @api private
    class OrderDSL < DSL
      private

      # @api private
      def method_missing(meth, *args, &block)
        if schema.key?(meth)
          schema[meth]
        else
          ::Sequel::VIRTUAL_ROW.__send__(meth.to_s.upcase, *args, &block)
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
rom-sql-3.1.0 lib/rom/sql/order_dsl.rb
rom-sql-3.0.1 lib/rom/sql/order_dsl.rb
rom-sql-3.0.0 lib/rom/sql/order_dsl.rb
rom-sql-2.5.0 lib/rom/sql/order_dsl.rb
rom-sql-2.4.0 lib/rom/sql/order_dsl.rb
rom-sql-2.3.0 lib/rom/sql/order_dsl.rb
rom-sql-2.2.1 lib/rom/sql/order_dsl.rb
rom-sql-2.2.0 lib/rom/sql/order_dsl.rb
rom-sql-2.1.0 lib/rom/sql/order_dsl.rb
rom-sql-2.0.0 lib/rom/sql/order_dsl.rb
rom-sql-1.3.5 lib/rom/sql/order_dsl.rb
rom-sql-2.0.0.rc1 lib/rom/sql/order_dsl.rb
rom-sql-1.3.4 lib/rom/sql/order_dsl.rb
rom-sql-2.0.0.beta3 lib/rom/sql/order_dsl.rb
rom-sql-2.0.0.beta2 lib/rom/sql/order_dsl.rb
rom-sql-2.0.0.beta1 lib/rom/sql/order_dsl.rb
rom-sql-1.3.3 lib/rom/sql/order_dsl.rb
rom-sql-1.3.2 lib/rom/sql/order_dsl.rb
rom-sql-1.3.1 lib/rom/sql/order_dsl.rb
rom-sql-1.3.0 lib/rom/sql/order_dsl.rb