Class: DamageControl::Tracker::RubyForge
- Inherits:
-
SourceForge
- Object
- Base
- SourceForge
- DamageControl::Tracker::RubyForge
- Defined in:
- lib/damagecontrol/tracker.rb
Constant Summary
Constants inherited from SourceForge
Instance Attribute Summary collapse
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#tracker_id ⇒ Object
Returns the value of attribute tracker_id.
Instance Method Summary collapse
Methods inherited from SourceForge
Methods inherited from Base
Methods included from Web::Configuration
Constructor Details
This class inherits a constructor from DamageControl::Tracker::SourceForge
Instance Attribute Details
#group_id ⇒ Object
Returns the value of attribute group_id.
158 159 160 |
# File 'lib/damagecontrol/tracker.rb', line 158 def group_id @group_id end |
#tracker_id ⇒ Object
Returns the value of attribute tracker_id.
162 163 164 |
# File 'lib/damagecontrol/tracker.rb', line 162 def tracker_id @tracker_id end |
Instance Method Details
#highlight(message) ⇒ Object
172 173 174 |
# File 'lib/damagecontrol/tracker.rb', line 172 def highlight() htmlize(.gsub(PATTERN,"<a href=\"http://rubyforge.org/tracker/index.php?func=detail&aid=\\1&group_id=#{group_id}&atid=#{tracker_id}\">#\\1</a>")) end |
#name ⇒ Object
164 165 166 |
# File 'lib/damagecontrol/tracker.rb', line 164 def name "RubyForge" end |
#url ⇒ Object
168 169 170 |
# File 'lib/damagecontrol/tracker.rb', line 168 def url "http://rubyforge.org/tracker/?group_id=#{group_id}" end |