Sha256: 2d78847efa0ad05b2943d9c2ac9f967cb2f9d425a4a644718e2703fab10d89fb

Contents?: true

Size: 502 Bytes

Versions: 3

Compression:

Stored size: 502 Bytes

Contents

# coding: utf-8

################################################
# © Alexander Semyonov, 2013—2013, MIT License #
# Author: Alexander Semyonov <al@semyonov.us>  #
################################################

require 'giteaucrat/formatters/ruby_formatter'

module Giteaucrat
  module Formatters
    class CoffeeFormatter < RubyFormatter
      def encoding
        nil
      end

      def add_copyright!
        @contents = [format_copyright, contents].join("\n\n")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
giteaucrat-0.0.7 lib/giteaucrat/formatters/coffee_formatter.rb
giteaucrat-0.0.6 lib/giteaucrat/formatters/coffee_formatter.rb
giteaucrat-0.0.5 lib/giteaucrat/formatters/coffee_formatter.rb