From 46321a9a313d934d23949ccecaa358c1761fd93c Mon Sep 17 00:00:00 2001 From: mame Date: Wed, 1 Oct 2008 13:46:53 +0000 Subject: * 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 --- lib/rexml/encodings/CP-1252.rb | 12 ++++++------ lib/rexml/encodings/ISO-8859-15.rb | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/rexml/encodings') 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) -- cgit v1.2.3