diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:46:53 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-01 13:46:53 +0000 |
commit | 46321a9a313d934d23949ccecaa358c1761fd93c (patch) | |
tree | 83769e97e39f1fd0e5ca45e821082b6b843578a7 /lib/rexml/encodings | |
parent | 952385b71267a843f8e71d0573f5b2fcf5709787 (diff) |
* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,
test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
test/rss/rss-assertions.rb: fix indentation to remove warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/encodings')
-rw-r--r-- | lib/rexml/encodings/CP-1252.rb | 12 | ||||
-rw-r--r-- | lib/rexml/encodings/ISO-8859-15.rb | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/rexml/encodings/CP-1252.rb b/lib/rexml/encodings/CP-1252.rb index 8675f9ff98..2ef6a1a291 100644 --- a/lib/rexml/encodings/CP-1252.rb +++ b/lib/rexml/encodings/CP-1252.rb @@ -3,12 +3,12 @@ # module REXML module Encoding - register( "CP-1252" ) do |o| - class << o - alias encode encode_cp1252 - alias decode decode_cp1252 - end - end + register( "CP-1252" ) do |o| + class << o + alias encode encode_cp1252 + alias decode decode_cp1252 + end + end # Convert from UTF-8 def encode_cp1252(content) diff --git a/lib/rexml/encodings/ISO-8859-15.rb b/lib/rexml/encodings/ISO-8859-15.rb index 8dea0d38a4..953267250e 100644 --- a/lib/rexml/encodings/ISO-8859-15.rb +++ b/lib/rexml/encodings/ISO-8859-15.rb @@ -3,10 +3,10 @@ # module REXML module Encoding - register("ISO-8859-15") do |o| - alias encode to_iso_8859_15 + register("ISO-8859-15") do |o| + alias encode to_iso_8859_15 alias decode from_iso_8859_15 - end + end # Convert from UTF-8 def to_iso_8859_15(content) |