Class: Flagstack::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/flagstack/synchronizer.rb

Overview

Simple actor class for sync operations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ Actor

Returns a new instance of Actor.



77
78
79
# File 'lib/flagstack/synchronizer.rb', line 77

def initialize(id)
  @flipper_id = id
end

Instance Attribute Details

#flipper_idObject (readonly)

Returns the value of attribute flipper_id.



75
76
77
# File 'lib/flagstack/synchronizer.rb', line 75

def flipper_id
  @flipper_id
end