Module: Plug::UnixDomain
- Defined in:
- lib/rbkb/plug/unix_domain.rb
Instance Attribute Summary collapse
-
#mute ⇒ Object
Returns the value of attribute mute.
-
#peers ⇒ Object
Returns the value of attribute peers.
Instance Method Summary collapse
Instance Attribute Details
#mute ⇒ Object
Returns the value of attribute mute.
33 34 35 |
# File 'lib/rbkb/plug/unix_domain.rb', line 33 def mute @mute end |
#peers ⇒ Object
Returns the value of attribute peers.
33 34 35 |
# File 'lib/rbkb/plug/unix_domain.rb', line 33 def peers @peers end |
Instance Method Details
#initialize ⇒ Object
35 36 37 |
# File 'lib/rbkb/plug/unix_domain.rb', line 35 def initialize @peers = PeerStub.new(self) end |
#name ⇒ Object
39 40 41 |
# File 'lib/rbkb/plug/unix_domain.rb', line 39 def name "a domain socket" end |
#receive_data(dat) ⇒ Object
43 44 45 |
# File 'lib/rbkb/plug/unix_domain.rb', line 43 def receive_data(dat) puts "Got:", dat.hexdump end |