Sha256: 7ef02a0b2b7adea2b7f8494d0541016a0e52702420536aff365dfd6bf3173af1
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
# coding: utf-8 # frozen_string_literal: true ############################################ # © Alex Semyonov, 2013—2017, MIT License # # Author: Alex Semyonov <alex@semyonov.us> # ############################################ require 'giteaucrat/formatters/coffee_formatter' module Giteaucrat module Formatters class ErlangFormatter < CoffeeFormatter COMMENT_PARTS = %w[% % %].freeze COPYRIGHT_REGEXP = %r{(?<ruler>%+\n)(?<copyright>(%\s*[^\s/]+.*\s%\n)+)(%\s+%?\n(?<comment>(%\s*.*%?\n)+))?\k<ruler>\n+} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
giteaucrat-0.1.0 | lib/giteaucrat/formatters/erlang_formatter.rb |
giteaucrat-0.0.8 | lib/giteaucrat/formatters/erlang_formatter.rb |