rexle 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rexle.rb +2 -2
  2. metadata +1 -1
@@ -15,8 +15,8 @@ class Rexle
15
15
  if x then
16
16
  procs = {
17
17
  String: proc {|x| RexleParser.new(x).to_a},
18
- Array: proc {|x| x}
19
- REXML::Document: proc {|x| scan_doc x.root}
18
+ Array: proc {|x| x},
19
+ :"REXML::Document" => proc {|x| scan_doc x.root}
20
20
  }
21
21
  a = procs[x.class.to_s.to_sym].call(x)
22
22
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors: []
7
7