Class: ModSpox::Messages::Outgoing::Stats
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Stats
- Defined in:
- lib/mod_spox/messages/outgoing/Stats.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
the query.
-
#target ⇒ Object
readonly
target server.
Instance Method Summary collapse
-
#initialize(query, target = '') ⇒ Stats
constructor
- query
- single character for query target
-
target server to query (or connected server if unset).
Constructor Details
#initialize(query, target = '') ⇒ Stats
- query
-
single character for query
- target
-
target server to query (or connected server if unset)
11 12 13 14 |
# File 'lib/mod_spox/messages/outgoing/Stats.rb', line 11 def initialize(query, target='') @query = query @target = target end |
Instance Attribute Details
#query ⇒ Object (readonly)
the query
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Stats.rb', line 6 def query @query end |
#target ⇒ Object (readonly)
target server
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Stats.rb', line 8 def target @target end |