Sha256: 5a8aa6b0b3eb4780c53eca41f4866c59581b60bee0ec6c61a44e9223977b8ab9

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

module Expressir
  module Model
    module Statements
      class Alias
        attr_accessor :id
        attr_accessor :expression
        attr_accessor :statements

        attr_accessor :parent
        attr_accessor :remarks

        def initialize(options = {})
          @id = options[:id]
          @expression = options[:expression]
          @statements = options[:statements]
        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/statements/alias.rb