Skip to content

Commit

Permalink
Merge pull request #691 from kiharito/fix_type_annotation
Browse files Browse the repository at this point in the history
Fix type annotation of arg `options`
  • Loading branch information
andrykonchin committed Oct 17, 2023
2 parents f8fb70c + d3a9f3c commit 6d53f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dynamoid/fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def field(name, type = :string, options = {})
#
# @param name [Symbol] a range key attribute name
# @param type [Symbol] a range key type (optional)
# @param options [Symbol] type options (optional)
# @param options [Hash] type options (optional)
def range(name, type = :string, options = {})
field(name, type, options)
self.range_key = name
Expand Down

0 comments on commit 6d53f10

Please sign in to comment.