Class: Orbit::Routing::Route
- Inherits:
-
Object
- Object
- Orbit::Routing::Route
- Defined in:
- lib/orbit/routing/route.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Route
constructor
A new instance of Route.
Constructor Details
#initialize(path) ⇒ Route
Returns a new instance of Route.
6 7 8 |
# File 'lib/orbit/routing/route.rb', line 6 def initialize(path) @path = Config.path_class.new(path) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/orbit/routing/route.rb', line 4 def path @path end |