Class: DamageControl::Publisher::Irc
- Defined in:
- lib/damagecontrol/publisher/irc.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#nick ⇒ Object
readonly
Returns the value of attribute nick.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize ⇒ Irc
constructor
A new instance of Irc.
- #name ⇒ Object
- #publish(build) ⇒ Object
Methods inherited from Base
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 |