lib/roda/plugins/typecast_params.rb
# Recursively descendent into all known subkeys and get the converted params from each.
Recursively descendent into all known subkeys and get the converted params from each.
Recursively descendent into all known subkeys and get the converted params from each .
def nested_params
          return @nested_params if @nested_params
          params = @params
          if @subs
            @subs.each do |key, v|
              if key.is_a?(String) && symbolize?
                key = key.to_sym
              end
              params[key] = v.nested_params
            end
          end
          params
        end
def nested_params return @nested_params if @nested_params params = @params if @subs @subs . each do | key , v | if key . is_a? ( String ) && symbolize? key = key . to_sym end params [ key ] = v . nested_params end end params end
Recursively descendent into all known subkeys and get the converted params from each.
Recursively descendent into all known subkeys and get the converted params from each .