Classes: JSHash
31 32 33 34 35 36 37
# File 'lib/dnode/jsobject.rb', line 31 def self.create obj={} Walk.new(obj).walk do |node| if node.value.is_a? Hash and not node.value.is_a? JSHash then node.value = JSHash.create(node.value) end end end