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
Attributes inherited from SourceForge
Instance Method Summary collapse
- #highlight(message) ⇒ Object
-
#name ⇒ Object
TODO: share the same rhtml template.
- #url ⇒ Object
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 Method Details
#highlight(message) ⇒ Object
132 133 134 |
# File 'lib/damagecontrol/tracker.rb', line 132 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
TODO: share the same rhtml template
124 125 126 |
# File 'lib/damagecontrol/tracker.rb', line 124 def name "RubyForge" end |
#url ⇒ Object
128 129 130 |
# File 'lib/damagecontrol/tracker.rb', line 128 def url "http://rubyforge.org/tracker/?group_id=#{group_id}" end |