Skip to content

Commit e8ea2bc

Browse files
author
Michael Bleigh
committed
Remove 1.9 hash syntax
1 parent 9e0ed8b commit e8ea2bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def version(*args, &block)
107107

108108
# Add a description to the next namespace or function.
109109
def desc(description, options = {})
110-
@last_description = options.merge({description: description})
110+
@last_description = options.merge(:description => description)
111111
end
112112

113113
# Specify the default format for the API's

0 commit comments

Comments
 (0)