Class: Wayfarer::Routing::Result::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/wayfarer/routing/result.rb

Overview

Signals that a URL matched a route.

Instance Attribute Summary collapse

Instance Attribute Details

#actionPage

Returns the retrieved page.

Returns:

  • (Page)

    the retrieved page.



9
# File 'lib/wayfarer/routing/result.rb', line 9

Match = Struct.new(:action, :params)

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



9
10
11
# File 'lib/wayfarer/routing/result.rb', line 9

def params
  @params
end