Sha256: 44659ed6f6035249ed336b0f424796c916db94cfaa46e26f54a9518442772821

Contents?: true

Size: 301 Bytes

Versions: 1

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

module Tataru
  # An instruction
  class Instruction
    attr_reader :action, :id, :state, :requirements

    def initialize(action, id, state, requirements)
      @action = action
      @id = id
      @state = state
      @requirements = requirements
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tataru-0.1.0 lib/tataru/instruction.rb