From 563b6544378236252898f7489a336bd25890cfe7 Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 23 Sep 2008 18:16:08 +0000 Subject: Fix ruby -w warnings for mismatched indentation discovered by rdoc git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/generic.rb | 2 +- lib/uri/mailto.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/uri') diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 8f5ab6375d..f569a22f49 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -516,7 +516,7 @@ module URI if v && v != '' && @parser.regexp[:QUERY] !~ v raise InvalidComponentError, "bad component(expected query component): #{v}" - end + end return true end diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb index c66c95fcd0..38f972e1fb 100644 --- a/lib/uri/mailto.rb +++ b/lib/uri/mailto.rb @@ -135,7 +135,7 @@ module URI @headers = [] if MAILTO_REGEXP =~ @opaque - if arg[-1] + if arg[-1] self.to = $1 self.headers = $2 else -- cgit v1.2.3