lib/spiderfw/config/configuration.rb in spiderfw-0.6.16 vs lib/spiderfw/config/configuration.rb in spiderfw-0.6.17
- old
+ new
@@ -290,9 +290,10 @@
end
def to_hash
h = {}
self.options.each do |k|
+ k = k.first
v = self[k]
if v.is_a?(self.class)
v = v.to_hash
next if v.empty?
end
\ No newline at end of file