Class: Usher::Node::Response
- Inherits:
-
Struct
- Object
- Struct
- Usher::Node::Response
- Defined in:
- lib/usher/node.rb
Instance Attribute Summary collapse
-
#matched_path ⇒ Object
Returns the value of attribute matched_path.
-
#params ⇒ Object
Returns the value of attribute params.
-
#path ⇒ Object
Returns the value of attribute path.
-
#remaining_path ⇒ Object
Returns the value of attribute remaining_path.
Instance Method Summary collapse
Instance Attribute Details
#matched_path ⇒ Object
Returns the value of attribute matched_path
7 8 9 |
# File 'lib/usher/node.rb', line 7 def matched_path @matched_path end |
#params ⇒ Object
Returns the value of attribute params
7 8 9 |
# File 'lib/usher/node.rb', line 7 def params @params end |
#path ⇒ Object
Returns the value of attribute path
7 8 9 |
# File 'lib/usher/node.rb', line 7 def path @path end |
#remaining_path ⇒ Object
Returns the value of attribute remaining_path
7 8 9 |
# File 'lib/usher/node.rb', line 7 def remaining_path @remaining_path end |
Instance Method Details
#partial_match? ⇒ Boolean
8 9 10 |
# File 'lib/usher/node.rb', line 8 def partial_match? !remaining_path.nil? end |