xml-registry 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/xml-registry.rb +4 -0
  2. metadata +1 -1
data/lib/xml-registry.rb CHANGED
@@ -33,6 +33,10 @@ class XMLRegistry
33
33
  def get_key(path)
34
34
  XPath.first(@doc.root, path)
35
35
  end
36
+
37
+ def get_keys(path)
38
+ XPath.match(@doc.root, path)
39
+ end
36
40
 
37
41
  def delete_key(path)
38
42
  node = XPath.first(@doc.root, path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xml-registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors: []
7
7