Skip to content

Commit d5f8445

Browse files
committed
A cleaner to_s.
1 parent 52f8398 commit d5f8445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/route.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def method_missing(method_id, *arguments)
1616
end
1717

1818
def to_s
19-
"Version: #{route_version} #{route_method} #{route_path}"
19+
"version=#{route_version}, method=#{route_method}, path=#{route_path}"
2020
end
2121

2222
end

0 commit comments

Comments
 (0)