Sha256: b5da204cdf8a09fe88508386f9530717229dd821cd6027d303413f70268647eb

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

module Expressir
  module Model
    module Expressions
      class QueryExpression
        attr_accessor :id
        attr_accessor :source
        attr_accessor :expression

        attr_accessor :parent
        attr_accessor :remarks

        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

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.3 lib/expressir/model/expressions/query_expression.rb