Sha256: a84cd6c914fe4be3077badc0d33cda655070b54612984a9d0efe2c04f839c469

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

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

        def initialize(options = {})
          @id = options[:id]
          @expression = options[:expression]
          @statements = options[:statements]
          @remarks = options[:remarks]
        end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
expressir-0.2.2 lib/expressir/model/statements/alias.rb
expressir-0.2.1 lib/expressir/model/statements/alias.rb