Class: Usher::Node::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/usher/node.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#matched_pathObject

Returns the value of attribute matched_path

Returns:

  • (Object)

    the current value of matched_path



7
8
9
# File 'lib/usher/node.rb', line 7

def matched_path
  @matched_path
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



7
8
9
# File 'lib/usher/node.rb', line 7

def params
  @params
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



7
8
9
# File 'lib/usher/node.rb', line 7

def path
  @path
end

#remaining_pathObject

Returns the value of attribute remaining_path

Returns:

  • (Object)

    the current value of remaining_path



7
8
9
# File 'lib/usher/node.rb', line 7

def remaining_path
  @remaining_path
end

Instance Method Details

#partial_match?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/usher/node.rb', line 8

def partial_match?
  !remaining_path.nil?
end