Class: Flon::Router::Match

Inherits:
Struct
  • Object
show all
Defined in:
lib/flon/router.rb

Overview

A route’s match is encapsulated in this struct. #action has the action associated with the route matched against and #params has the parameters hash.

Instance Attribute Summary collapse

Instance Attribute Details

#actionObject (readonly)



18
# File 'lib/flon/router.rb', line 18

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

#paramsHash{Symbol => Object} (readonly)



18
# File 'lib/flon/router.rb', line 18

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