diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
commit | 9246a73c21dab6031e8036b3ebaa3b943d2119d1 (patch) | |
tree | a700e3fe92165180b04451746f9c4fda4f038289 /lib/rexml/dtd | |
parent | d9a34753f78b8db5115b10bb1df137a16c4c90cf (diff) | |
download | ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.gz ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.tar.xz ruby-9246a73c21dab6031e8036b3ebaa3b943d2119d1.zip |
consistent parentheses in assignment RHS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/dtd')
-rw-r--r-- | lib/rexml/dtd/entitydecl.rb | 2 | ||||
-rw-r--r-- | lib/rexml/dtd/notationdecl.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/dtd/entitydecl.rb b/lib/rexml/dtd/entitydecl.rb index 83156dfc7..164825570 100644 --- a/lib/rexml/dtd/entitydecl.rb +++ b/lib/rexml/dtd/entitydecl.rb @@ -48,7 +48,7 @@ module REXML def EntityDecl.parse_source source, listener md = source.match( PATTERN_RE, true ) - thing = md[0].squeeze " \t\n\r" + thing = md[0].squeeze(" \t\n\r") listener.send inspect.downcase, thing end end diff --git a/lib/rexml/dtd/notationdecl.rb b/lib/rexml/dtd/notationdecl.rb index 09b6743c5..d577ce063 100644 --- a/lib/rexml/dtd/notationdecl.rb +++ b/lib/rexml/dtd/notationdecl.rb @@ -31,7 +31,7 @@ module REXML def NotationDecl.parse_source source, listener md = source.match( PATTERN_RE, true ) - thing = md[0].squeeze " \t\n\r" + thing = md[0].squeeze(" \t\n\r") listener.send inspect.downcase, thing end end |