Method: Cinch::Network#initialize

Defined in:
lib/cinch/network.rb

#initialize(name, ircd) ⇒ Network

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Note:

The user should not create instances of this class but use IRC#network instead.

Returns a new instance of Network.

Parameters:

  • name (Symbol)
  • ircd (Symbol)

Since:

  • 2.0.0



33
34
35
36
37
# File 'lib/cinch/network.rb', line 33

def initialize(name, ircd)
  @name         = name
  @ircd         = ircd
  @capabilities = []
end