Sha256: 574d8eab69fbe1697893b0e336074cfc3b0d4a70d83bb78f94ddf4f7d5302be1

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

require_relative 'statement'

module Basic101

  class DimStatement < Statement

    def initialize(array_references)
      @array_references = array_references
    end

    def execute(runtime)
      @array_references.each do |reference|
        reference.dimension_array runtime
      end
    end

    protected

    def state
      [@array_references]
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-0.4.0 lib/basic101/dim_statement.rb
basic101-0.2.0 lib/basic101/dim_statement.rb
basic101-0.1.0 lib/basic101/dim_statement.rb