Class: Flagstack::Actor
- Inherits:
-
Object
- Object
- Flagstack::Actor
- Defined in:
- lib/flagstack/synchronizer.rb
Overview
Simple actor class for sync operations
Instance Attribute Summary collapse
-
#flipper_id ⇒ Object
readonly
Returns the value of attribute flipper_id.
Instance Method Summary collapse
-
#initialize(id) ⇒ Actor
constructor
A new instance of Actor.
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_id ⇒ Object (readonly)
Returns the value of attribute flipper_id.
75 76 77 |
# File 'lib/flagstack/synchronizer.rb', line 75 def flipper_id @flipper_id end |