Sha256: 6a93539bbdd0f0c29a0d1696e4865957d40929188dc81556f58a5fcf20efe197

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

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

class Card
  class Format
    class CsvFormat < Format
      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

1 entries across 1 versions & 1 rubygems

Version Path
card-mod-format-0.17.0 lib/card/format/csv_format.rb