From 965ae90bc6ff63c4aeee81cbc2137d8d7ef5ccdc Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 29 Aug 2006 08:24:04 +0000 Subject: Eliminate Active Support warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support/vendor/builder/xmlbase.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/vendor') diff --git a/activesupport/lib/active_support/vendor/builder/xmlbase.rb b/activesupport/lib/active_support/vendor/builder/xmlbase.rb index 950d5891e1..b0485636ea 100644 --- a/activesupport/lib/active_support/vendor/builder/xmlbase.rb +++ b/activesupport/lib/active_support/vendor/builder/xmlbase.rb @@ -53,7 +53,7 @@ module Builder unless text.nil? raise ArgumentError, "XmlMarkup cannot mix a text argument with a block" end - _capture_outer_self(block) if @self.nil? + _capture_outer_self(block) unless defined?(@self) && !@self.nil? _indent _start_tag(sym, attrs) _newline -- cgit v1.2.3