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-mod-format-0.16.0 lib/card/format/csv_format.rb
card-mod-format-0.15.6 lib/card/format/csv_format.rb
card-mod-format-0.15.5 lib/card/format/csv_format.rb
card-mod-format-0.15.4 lib/card/format/csv_format.rb
card-mod-format-0.15.3 lib/card/format/csv_format.rb
card-mod-format-0.15.2.pre1 lib/card/format/csv_format.rb
card-mod-format-0.15.1.1 lib/card/format/csv_format.rb
card-mod-format-0.15.1 lib/card/format/csv_format.rb
card-mod-format-0.15.0 lib/card/format/csv_format.rb
card-mod-format-0.14.2 lib/card/format/csv_format.rb
card-mod-format-0.14.1 lib/card/format/csv_format.rb
card-mod-format-0.14.0 lib/card/format/csv_format.rb
card-mod-format-0.13.4 lib/card/format/csv_format.rb
card-mod-format-0.13.3 lib/card/format/csv_format.rb
card-mod-format-0.13.2 lib/card/format/csv_format.rb
card-mod-format-0.13.1 lib/card/format/csv_format.rb
card-mod-format-0.13.0 lib/card/format/csv_format.rb
card-mod-format-0.11.7 lib/card/format/csv_format.rb
card-mod-format-0.12.0 lib/card/format/csv_format.rb
card-mod-format-0.11.6 lib/card/format/csv_format.rb