Class: Irc
Class Method Summary collapse
- .logon ⇒ Object
- .menu ⇒ Object
- .pw ⇒ Object
- .pw=(to) ⇒ Object
- .username ⇒ Object
- .username=(to) ⇒ Object
Class Method Details
.logon ⇒ Object
11 12 13 14 |
# File 'lib/xiki/irc.rb', line 11 def self.logon View. $el.el4r_lisp_eval "(erc :server \"irc.freenode.net\" :nick \"#{@@username}\")" end |
.menu ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/xiki/irc.rb', line 3 def self. " - .logon - room (o): /j merb - identify (o): /m nickserv IDENTIFY #{self.pw} " end |
.pw ⇒ Object
19 |
# File 'lib/xiki/irc.rb', line 19 def self.pw; @@pw; end |
.pw=(to) ⇒ Object
20 |
# File 'lib/xiki/irc.rb', line 20 def self.pw= to; @@pw = to; end |
.username ⇒ Object
17 |
# File 'lib/xiki/irc.rb', line 17 def self.username; @@username; end |
.username=(to) ⇒ Object
16 |
# File 'lib/xiki/irc.rb', line 16 def self.username= to; @@username = to; end |