# File lib/xmlsimple.rb, line 849 def scalar(value) return false if value.instance_of?(Hash) || value.instance_of?(Array) return true end