Class: Giteaucrat::Formatters::ErlangFormatter
- Inherits:
-
CoffeeFormatter
- Object
- SimpleDelegator
- Formatter
- RubyFormatter
- CoffeeFormatter
- Giteaucrat::Formatters::ErlangFormatter
- Defined in:
- lib/giteaucrat/formatters/erlang_formatter.rb
Constant Summary collapse
- COMMENT_PARTS =
%w[% % %].freeze
- COPYRIGHT_REGEXP =
%r{(?<ruler>%+\n)(?<copyright>(%\s*[^\s/]+.*\s%\n)+)(%\s+%?\n(?<comment>(%\s*.*%?\n)+))?\k<ruler>\n+}
Constants inherited from RubyFormatter
Constants inherited from Formatter
Instance Attribute Summary
Attributes inherited from Formatter
Method Summary
Methods inherited from CoffeeFormatter
Methods inherited from RubyFormatter
#encoding, #format_copyright, #format_line, #include_encoding?, #parse_comment, #remove_copyright!
Methods inherited from Formatter
#add_copyright!, #comment?, #comment_parts, #footer_ruler, #format_copyright, #format_line, #header_ruler, #parse_comment, #remove_copyright!, #ruler, #write_copyright!