xml-fu 0.1.4 → 0.1.5
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.
- data/CHANGELOG.md +4 -0
- data/lib/xml-fu/node.rb +1 -0
- data/lib/xml-fu/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/lib/xml-fu/node.rb
CHANGED
@@ -114,6 +114,7 @@ module XmlFu
|
|
114
114
|
# Custom Setter for @value instance method
|
115
115
|
def value=(val)
|
116
116
|
case val
|
117
|
+
when ::String then @value = val.to_s
|
117
118
|
when ::Hash then @value = val
|
118
119
|
when ::Array then @value = val
|
119
120
|
when ::DateTime then @value = val.strftime XS_DATETIME_FORMAT
|
data/lib/xml-fu/version.rb
CHANGED
metadata
CHANGED