Skip to content

Commit

Permalink
Add to_ary nil
Browse files Browse the repository at this point in the history
  • Loading branch information
ericproulx committed Nov 14, 2023
1 parent b34c722 commit 7506673
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/grape/router/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def warn_route_methods(name, location, expected = nil)
expected ||= name
Grape.deprecator.warn("#{path}:#{line}: The route_xxx methods such as route_#{name} have been deprecated, please use #{expected}.")
end

def to_ary
nil
end
end
end
end

0 comments on commit 7506673

Please sign in to comment.