From faaedc63a7ac5e82f0ca494f4661a04192fe63c0 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: http://svn.ruby-lang.org/repos/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 8f5ab6375..f569a22f4 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 c66c95fcd..38f972e1f 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