Permalink
Browse files

Rescue error with false positive on Node.value responding to :to_date…

…time
  • Loading branch information...
1 parent 2b0ae53 commit 54c2589f3ba06ce3ba1ecbadf5cb2cc655226069 @CITguy committed Mar 13, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 lib/xml-fu/node.rb
  2. +1 −1 lib/xml-fu/version.rb
View
@@ -118,6 +118,8 @@ def value=(val)
else
@value = val.to_s
end
+ rescue => e
+ @value = val.to_s
end#value=
# @return [String, nil]
View
@@ -1,3 +1,3 @@
module XmlFu
- VERSION = "0.1.0"
+ VERSION = "0.1.1"
end

0 comments on commit 54c2589

Please sign in to comment.