aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/light/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/light/node.rb')
-rw-r--r--lib/rexml/light/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/light/node.rb b/lib/rexml/light/node.rb
index 9dafd687dd..ff8cb987f0 100644
--- a/lib/rexml/light/node.rb
+++ b/lib/rexml/light/node.rb
@@ -135,8 +135,8 @@ module REXML
end
def text=( foo )
- replace = at(4).kind_of? String ? 1 : 0
- self._old_put(4,replace, normalizefoo)
+ replace = at(4).kind_of?(String) ? 1 : 0
+ _old_put(4, replace, normalizefoo)
end
def root