Class: ModSpox::Messages::Outgoing::Time

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Time.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel, target = '') ⇒ Time

target

target server

Request time on server



9
10
11
# File 'lib/mod_spox/messages/outgoing/Time.rb', line 9

def initialize(channel, target='')
    @target = target
end

Instance Attribute Details

#targetObject (readonly)

target server



6
7
8
# File 'lib/mod_spox/messages/outgoing/Time.rb', line 6

def target
  @target
end