Class: DamageControl::Publisher::Irc

Inherits:
Base
  • Object
show all
Defined in:
lib/damagecontrol/publisher/irc.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#enabled

Instance Method Summary collapse

Methods inherited from Base

classes, register

Constructor Details

#initialize ⇒ Irc

Returns a new instance of Irc.



17
18
19
20
21
# File 'lib/damagecontrol/publisher/irc.rb', line 17

def initialize
  @server = "irc.codehaus.org"
  @channel = "#xxxxxx"
  @nick = "dcontrol"
end

Instance Attribute Details

#channel ⇒ Object (readonly)

Returns the value of attribute channel.



12
13
14
# File 'lib/damagecontrol/publisher/irc.rb', line 12

def channel
  @channel
end

#nick ⇒ Object (readonly)

Returns the value of attribute nick.



15
16
17
# File 'lib/damagecontrol/publisher/irc.rb', line 15

def nick
  @nick
end

#server ⇒ Object (readonly)

Returns the value of attribute server.



9
10
11
# File 'lib/damagecontrol/publisher/irc.rb', line 9

def server
  @server
end

Instance Method Details

#name ⇒ Object



23
24
25
# File 'lib/damagecontrol/publisher/irc.rb', line 23

def name
  "IRC"
end

#publish(build) ⇒ Object



27
28
# File 'lib/damagecontrol/publisher/irc.rb', line 27

def publish(build)
end