Class: ModSpox::Messages::Outgoing::WhoWas
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::WhoWas
- Defined in:
- lib/mod_spox/messages/outgoing/WhoWas.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
number of entries to return.
-
#nick ⇒ Object
readonly
nick to whowas.
-
#target ⇒ Object
readonly
target server.
Instance Method Summary collapse
-
#initialize(nick, count = '', target = '') ⇒ WhoWas
constructor
- nick
- nick to whowas count
- number of entries to return target
-
target server Information about a nick that no longer exists.
Constructor Details
#initialize(nick, count = '', target = '') ⇒ WhoWas
- nick
-
nick to whowas
- count
-
number of entries to return
- target
-
target server
Information about a nick that no longer exists
15 16 17 18 19 |
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 15 def initialize(nick, count='', target='') @nick = nick @count = count @target = target end |
Instance Attribute Details
#count ⇒ Object (readonly)
number of entries to return
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 8 def count @count end |
#nick ⇒ Object (readonly)
nick to whowas
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 6 def nick @nick end |
#target ⇒ Object (readonly)
target server
10 11 12 |
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 10 def target @target end |