Skip to content

Commit

Permalink
update yardocs for Constrained.constrained
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr8898 committed Jul 15, 2024
1 parent ff2c813 commit e8e262d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/dry/types/constrained.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ def try(input, &block)
end
end

# @param [Hash] options
# The options hash provided to {Types.Rule} and combined
# @param *nullary_rules [Array<Symbol>] a list of rules that do not require an additional argument (e.g., :odd)
# @param **unary_rules [Hash] a list of rules that require an additional argument (e.g., gt: 0)
# The parameters are merger to create a rules hash provided to {Types.Rule} and combined
# using {&} with previous {#rule}
#
# @return [Constrained]
Expand Down

0 comments on commit e8e262d

Please sign in to comment.