aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-04 16:38:36 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-04 16:38:36 +0900
commitffa9298076c4bfd1443b1231e1d7e7965ede5db9 (patch)
tree2c8c1aad3a463b3b80ec8520c4a95de47f7f78da /lib/rexml
parent823f25bb969a19c6c7055dabc5b33cd1fa709ac8 (diff)
downloadruby-ffa9298076c4bfd1443b1231e1d7e7965ede5db9.tar.gz
Fixed a typo
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/text.rb b/lib/rexml/text.rb
index 5eba6e03c9..050b09c97e 100644
--- a/lib/rexml/text.rb
+++ b/lib/rexml/text.rb
@@ -109,7 +109,7 @@ module REXML
@string = arg.instance_variable_get(:@string).dup
@raw = arg.raw
@entity_filter = arg.instance_variable_get(:@entity_filter)
- elsif
+ else
raise "Illegal argument of type #{arg.type} for Text constructor (#{arg})"
end