Sha256: 8c77532bd0b165e7e879790b19ad8f03b1ca417c36dab4e711bc0da3d35ecff3

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

module Coactive
  class Coaction < Struct.new(:coactor, :name, :options)
    def priority
      options[:priority]
    end

    def priority=(val)
      options[:priority] = val
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coactive-0.6.0 lib/coactive/coaction.rb
coactive-0.5.2 lib/coactive/coaction.rb
coactive-0.5.1 lib/coactive/coaction.rb
coactive-0.5.0 lib/coactive/coaction.rb