Commit 578eb92c authored by Olivier Halligon's avatar Olivier Halligon

shush rubocop

parent f1f43240
......@@ -44,7 +44,7 @@ Metrics/LineLength:
# Offense count: 106
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 39
Max: 40
# Offense count: 12
Metrics/PerceivedComplexity:
......
......@@ -330,12 +330,10 @@ module Pod
# @raise if the query is not a valid regular expression
#
def validate_regex!(query)
begin
/#{query}/
rescue RegexpError
help! 'A valid regular expression is required.'
end
end
# @return [Fixnum] the index of the chosen array item
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment