Module: LightIO::Module::Addrinfo::ClassMethods
- Extended by:
- WrapperHelper
- Includes:
- Base::Helper
- Included in:
- Library::Addrinfo
- Defined in:
- lib/lightio/module/socket.rb
Instance Method Summary collapse
Instance Method Details
#foreach(*args, &block) ⇒ Object
35 36 37 |
# File 'lib/lightio/module/socket.rb', line 35 def foreach(*args, &block) LightIO::Library::Addrinfo.getaddrinfo(*args).each(&block) end |