Sha256: 02605cc93686747b60a75695446ee6941cd1779725f759ce4621c18ecc6b5cc7

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

require 'rom/sql/dsl'

module ROM
  module SQL
    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

1 entries across 1 versions & 1 rubygems

Version Path
rom-sql-1.0.0.beta3 lib/rom/sql/order_dsl.rb