Class: Plug::PeerStub
Instance Attribute Summary collapse
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
Instance Method Summary collapse
- #[](junk) ⇒ Object
- #[]=(junk) ⇒ Object
-
#initialize(owner) ⇒ PeerStub
constructor
A new instance of PeerStub.
- #peers ⇒ Object
Constructor Details
#initialize(owner) ⇒ PeerStub
Returns a new instance of PeerStub.
15 16 17 |
# File 'lib/rbkb/plug/unix_domain.rb', line 15 def initialize(owner) @owner = owner end |
Instance Attribute Details
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
13 14 15 |
# File 'lib/rbkb/plug/unix_domain.rb', line 13 def owner @owner end |
Instance Method Details
#[](junk) ⇒ Object
19 20 21 |
# File 'lib/rbkb/plug/unix_domain.rb', line 19 def [](junk) @owner end |
#[]=(junk) ⇒ Object
23 24 25 |
# File 'lib/rbkb/plug/unix_domain.rb', line 23 def []=(junk) [@owner] end |
#peers ⇒ Object
27 28 29 |
# File 'lib/rbkb/plug/unix_domain.rb', line 27 def peers nil end |