Skip to content

Commit

Permalink
docs(core): fix misstyped text
Browse files Browse the repository at this point in the history
  • Loading branch information
marian13 committed Oct 12, 2022
1 parent 769d232 commit c721f9f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
| Medium | 🚧 | How to test thread-safety? | |
| Medium | 🚧 | Rename `Utils::Module.find_own_const` to `Utils::Module.get_own_const` | |
| Medium | 🚧 | Mark `@api private` methods, classes | [YARD Tags](https://www.rubydoc.info/gems/yard/file/docs/Tags.md) |
| Medium | 🚧 | Util to check if block has one required positional argument | |
2 changes: 1 addition & 1 deletion lib/convenient_service/core/entities/concerns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def assert_not_included!
# @return [ConvenientService::Core::Entities::MethodMiddlewares]
#
# @internal
# TODO: Utils to check if block has one require positional argument.
# TODO: Util to check if block has one required positional argument.
#
def configure(&configuration_block)
configuration_block.arity == 1 ? configuration_block.call(stack) : stack.instance_exec(&configuration_block)
Expand Down
2 changes: 1 addition & 1 deletion lib/convenient_service/core/entities/method_middlewares.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def self.resolve_super_method(entity, scope, method)
# @return [ConvenientService::Core::Entities::MethodMiddlewares]
#
# @internal
# TODO: Utils to check if block has one require positional argument.
# TODO: Util to check if block has one required positional argument.
#
def configure(&configuration_block)
configuration_block.arity == 1 ? configuration_block.call(stack) : stack.instance_exec(&configuration_block)
Expand Down

0 comments on commit c721f9f

Please sign in to comment.