diff options
Diffstat (limited to 'lib/rexml/quickpath.rb')
-rw-r--r-- | lib/rexml/quickpath.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/quickpath.rb b/lib/rexml/quickpath.rb index f3ad29a93a..5d6c77ca38 100644 --- a/lib/rexml/quickpath.rb +++ b/lib/rexml/quickpath.rb @@ -194,7 +194,7 @@ module REXML case res when true results << element - when Fixnum + when Integer results << element if Functions.pair[0] == res when String results << element @@ -230,7 +230,7 @@ module REXML case res when true results << element - when Fixnum + when Integer results << element if Functions.pair[0] == res end end |