Method: Net::DND::Session.start
- Defined in:
- lib/net/dnd/session.rb
.start(host, field_list = []) ⇒ Object
Starts a new DND session/connection. Called by the module-level start methods.
29 30 31 32 33 |
# File 'lib/net/dnd/session.rb', line 29 def self.start(host, field_list=[]) session = Session.new(host) session.set_fields(field_list) session end |