Class: NetworkFacade::Unix::Server
- Inherits:
-
Base::Server
- Object
- Base::Server
- NetworkFacade::Unix::Server
- Defined in:
- lib/network-facade/unix.rb
Instance Attribute Summary
Attributes inherited from Base::Server
Instance Method Summary collapse
- #accept ⇒ Object
-
#initialize(options = {}) ⇒ Server
constructor
A new instance of Server.
Methods inherited from Base::Server
Constructor Details
Instance Method Details
#accept ⇒ Object
28 29 30 31 32 |
# File 'lib/network-facade/unix.rb', line 28 def accept client = @options[:server].accept client.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) if @options[:close_exec] client end |