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.

Since:

  • 2.0.0

Parameters:

API:

  • private



35
36
37
38
39
# File 'lib/cinch/network.rb', line 35

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