module Roda::RodaPlugins::TypecastParams::InstanceMethods

  1. lib/roda/plugins/typecast_params.rb

Methods

Public Instance

  1. typecast_params

Public Instance methods

typecast_params()

Return and cache the instance of the Params class for the current request. Type conversion methods will be called on the result of this method.

[show source]
     # File lib/roda/plugins/typecast_params.rb
1130 def typecast_params
1131   @_typecast_params ||= self.class::TypecastParams.new(@_request.params)
1132 end