put_into_cache (XmlSimple)

    # File lib/xmlsimple.rb, line 1001
      def put_into_cache(data, filename)
        if @options.has_key?('cache')
          @options['cache'].each { |scheme|
            case(scheme)
            when 'storable'
              @@cache.save_storable(data, filename)
            when 'mem_share'
              @@cache.save_mem_share(data, filename)
            when 'mem_copy'
              @@cache.save_mem_copy(data, filename)
            else
              raise ArgumentError, "Unsupported caching scheme: <#{scheme}>."
            end
          }
        end
      end