Rubocop syntax updates #2711

This commit is contained in:
Priit Tark 2015-06-26 17:06:34 +03:00
parent e46c1130db
commit 59c73fca9e
9 changed files with 33 additions and 11 deletions

View file

@ -33,6 +33,7 @@ end
module Autodoc
class Document
# rubocop:disable Metrics/AbcSize
def route_info_doc
return unless example.metadata[:route_info_doc]
route = request.env["rack.routing_args"][:route_info]
@ -56,6 +57,7 @@ module Autodoc
pretty_table(rows).join("\n")
end
# rubocop:enable Metrics/AbcSize
def pretty_table(rows)
# longest_in_col = 0