Permalink
Browse files

no need for newline in raise

  • Loading branch information...
1 parent 3b389f9 commit 4e5059bbe4fcb7ff0526505b7bade08f26600c3e Lee Jarvis committed Feb 15, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/slop/option.rb
View
3 lib/slop/option.rb
@@ -139,8 +139,7 @@ def value_to_integer(value)
begin
Integer(value.to_s, 10)
rescue ArgumentError
- raise InvalidArgumentError,
- "#{value} could not be coerced into Integer"
+ raise InvalidArgumentError, "#{value} could not be coerced into Integer"
end
else
value.to_s.to_i

0 comments on commit 4e5059b

Please sign in to comment.