Module: Balotelli::Config
- Defined in:
- lib/balotelli/config.rb
Constant Summary collapse
- FREENODE =
['chat.freenode.net', 6667]
- QUAKENET =
['irc.quakenet.org', 6667]
- RIZON =
['irc.rizon.net', 6667]
- PIRC =
['irc.pirc.pl', 6667]
- MOZNET =
['irc.mozilla.org', 6667]
Class Method Summary collapse
Class Method Details
.build(server, name = ('balotelli%03d' % rand(1000)), pass = nil) ⇒ Object
11 12 13 |
# File 'lib/balotelli/config.rb', line 11 def build(server, name = ('balotelli%03d' % rand(1000)), pass = nil) const_get(server.upcase).dup.push(name, pass) end |