Skip to content

Commit

Permalink
Fix type annotation of arg options
Browse files Browse the repository at this point in the history
  • Loading branch information
kiharito committed Oct 17, 2023
1 parent f8fb70c commit d3a9f3c
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 d3a9f3c

Please sign in to comment.