Sha256: bbca6cff6dcaa789b5d1da20156cb12f32d63f55604f23ccd90ac77992f3ed86

Contents?: true

Size: 526 Bytes

Versions: 4

Compression:

Stored size: 526 Bytes

Contents

# coding: utf-8

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

require 'giteaucrat/formatters/coffee_formatter'

module Giteaucrat
  module Formatters
    class ErlangFormatter < CoffeeFormatter
      COMMENT_PARTS = %w(% % %)
      COPYRIGHT_REGEXP = %r{(?<ruler>%+\n)(?<copyright>(%\s*[^\s/]+.*\s%\n)+)(%\s+%?\n(?<comment>(%\s*.*%?\n)+))?\k<ruler>\n+}
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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