Class: Shenandoah::Server::IndexEntry
- Inherits:
-
Struct
- Object
- Struct
- Shenandoah::Server::IndexEntry
- Defined in:
- lib/shenandoah/server.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
148 149 150 |
# File 'lib/shenandoah/server.rb', line 148 def <=>(other) self.test_html <=> other.test_html end |
#href ⇒ Object
140 141 142 |
# File 'lib/shenandoah/server.rb', line 140 def href '/' + ["spec", section, test_html].reject { |s| s == '.' }.join('/') end |
#name ⇒ Object
144 145 146 |
# File 'lib/shenandoah/server.rb', line 144 def name test_html.sub(/.html$/, '') end |