Sha256: a7702fe46d5e6960d63217e097906f3101c0a67f8dc899f22d9f6ccae6cd80f3

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

require_relative 'threadable'

module FiniteMachine
  # Holds references to targets and aliases
  #
  # @api public
  class Env
    include Threadable

    attr_threadsafe :target

    attr_threadsafe :aliases

    def initialize(target, aliases = [])
      @target = target
      @aliases = aliases
    end
  end # Env
end # FiniteMachine

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
finite_machine-0.13.0 lib/finite_machine/env.rb
finite_machine-0.12.1 lib/finite_machine/env.rb
finite_machine-0.12.0 lib/finite_machine/env.rb