Class: RDoc::SinatraRoute
- Inherits:
-
AnyMethod
- Object
- AnyMethod
- RDoc::SinatraRoute
- Defined in:
- lib/rdoc/parser/sinatra.rb
Overview
Sinatra route definition as a method.
Direct Known Subclasses
Instance Method Summary collapse
- #aref_prefix ⇒ Object
-
#initialize(route_definition, content_text) ⇒ SinatraRoute
constructor
A new instance of SinatraRoute.
Constructor Details
#initialize(route_definition, content_text) ⇒ SinatraRoute
Returns a new instance of SinatraRoute.
18 19 20 21 22 |
# File 'lib/rdoc/parser/sinatra.rb', line 18 def initialize(route_definition, content_text) super(content_text, route_definition) @params = "" end |
Instance Method Details
#aref_prefix ⇒ Object
24 25 26 |
# File 'lib/rdoc/parser/sinatra.rb', line 24 def aref_prefix "" end |