dir-to-xml 0.3.0 → 0.3.1

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/dir-to-xml.rb +4 -0
  2. metadata +2 -2
@@ -33,6 +33,10 @@ class DirToXML
33
33
  proc1.call(@object)
34
34
  end
35
35
 
36
+ def to_h
37
+ @h
38
+ end
39
+
36
40
  def to_xml
37
41
  @doc.to_s
38
42
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dir-to-xml
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-10-28 00:00:00 Z
13
+ date: 2013-01-15 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dynarex