From 84247ca83acfc37ae2e8bf377151cf31d0ce5715 Mon Sep 17 00:00:00 2001 From: Vasily Kolesnikov Date: Sat, 15 Jul 2023 17:48:42 +0300 Subject: [PATCH] Fix typo in doc-sctrings --- lib/roda/plugins/mail_processor.rb | 2 +- lib/roda/plugins/typecast_params.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roda/plugins/mail_processor.rb b/lib/roda/plugins/mail_processor.rb index a364854e..fcab28d5 100644 --- a/lib/roda/plugins/mail_processor.rb +++ b/lib/roda/plugins/mail_processor.rb @@ -379,7 +379,7 @@ def #{field} end # Perform the processing of mail for this request, first considering - # routes defined via the the class-level +rcpt+ method, and then the + # routes defined via the class-level +rcpt+ method, and then the # normal routing tree passed in as the block. def process_mail(&block) if string_routes = opts[:mail_processor_string_routes] diff --git a/lib/roda/plugins/typecast_params.rb b/lib/roda/plugins/typecast_params.rb index 7d4a0a6e..cab3d985 100644 --- a/lib/roda/plugins/typecast_params.rb +++ b/lib/roda/plugins/typecast_params.rb @@ -346,7 +346,7 @@ def all_errors end # The reason behind this error. If this error was caused by a conversion method, - # this will be the the conversion method symbol. If this error was caused + # this will be the conversion method symbol. If this error was caused # because a value was missing, then it will be +:missing+. If this error was # caused because a value was not the correct type, then it will be +:invalid_type+. attr_accessor :reason