Sha256: 31347393648c8fb9b1403dec811c556d206e1457d9ef916ec9647a03dba683e5

Contents?: true

Size: 509 Bytes

Versions: 3

Compression:

Stored size: 509 Bytes

Contents

module Expressir
  module Model
    module Expressions
      class QueryExpression
        include Scope
        include Identifier

        attr_accessor :source
        attr_accessor :expression

        def initialize(options = {})
          @id = options[:id]

          @source = options[:source]
          @expression = options[:expression]
        end

        def children
          items = []
          items.push(self)
          items
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.6 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.5-x64-mingw32 lib/expressir/model/expressions/query_expression.rb
expressir-0.2.4-x64-mingw32 lib/expressir/model/expressions/query_expression.rb