Class: Plug::PeerStub

Inherits:
Object show all
Defined in:
lib/rbkb/plug/unix_domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ownerObject (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

#peersObject



27
28
29
# File 'lib/rbkb/plug/unix_domain.rb', line 27

def peers
  nil
end