ruby-changes:58556
From: Nobuyoshi <ko1@a...>
Date: Mon, 4 Nov 2019 16:39:36 +0900 (JST)
Subject: [ruby-changes:58556] ffa9298076 (master): Fixed a typo
https://git.ruby-lang.org/ruby.git/commit/?id=ffa9298076 From ffa9298076c4bfd1443b1231e1d7e7965ede5db9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 4 Nov 2019 16:38:36 +0900 Subject: Fixed a typo diff --git a/lib/rexml/text.rb b/lib/rexml/text.rb index 5eba6e0..050b09c 100644 --- a/lib/rexml/text.rb +++ b/lib/rexml/text.rb @@ -109,7 +109,7 @@ module REXML https://github.com/ruby/ruby/blob/trunk/lib/rexml/text.rb#L109 @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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/