Sha256: 5933748951807cca771616c7bc10a3ab3ed34c076a84b66664889fe4e2b3dcf6

Contents?: true

Size: 338 Bytes

Versions: 69

Compression:

Stored size: 338 Bytes

Contents

# -*- encoding : utf-8 -*-

class Card
  class Format
    class CsvFormat < TextFormat
      register :csv

      def mime_type
        "text/comma-separated-values"
      end

      def self.view_caching?
        # TODO: make view caching handle non-strings
        # (specifically stub_render)
        false
      end
    end
  end
end

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
card-1.93.8 mod/basic_formats/format/csv_format.rb
card-1.93.7 mod/basic_formats/format/csv_format.rb
card-1.93.6 mod/basic_formats/format/csv_format.rb
card-1.93.5 mod/basic_formats/format/csv_format.rb
card-1.93.4 mod/basic_formats/format/csv_format.rb
card-1.93.3 mod/basic_formats/format/csv_format.rb
card-1.93.2 mod/basic_formats/format/csv_format.rb
card-1.93.1 mod/basic_formats/format/csv_format.rb
card-1.93.0 mod/basic_formats/format/csv_format.rb