Sha256: cf9dc21f8f934903dcdcf8ea3fbb14efeccb4e653bf750fd01dbad01f606a05c

Contents?: true

Size: 175 Bytes

Versions: 2

Compression:

Stored size: 175 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coactive-0.4.1 lib/coactive/coaction.rb
coactive-0.4.0 lib/coactive/coaction.rb