add empty line after guard clause to lib/redmine/wiki_formatting.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20231 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-11-03 14:55:09 +00:00
parent 52d8b5549e
commit fc3af794d2

View File

@@ -34,6 +34,7 @@ module Redmine
options = args.last.is_a?(Hash) ? args.pop : {}
name = name.to_s
raise ArgumentError, "format name '#{name}' is already taken" if @@formatters[name]
formatter, helper, parser =
if args.any?
args
@@ -41,6 +42,7 @@ module Redmine
%w(Formatter Helper HtmlParser).map {|m| "Redmine::WikiFormatting::#{name.classify}::#{m}".constantize rescue nil}
end
raise "A formatter class is required" if formatter.nil?
@@formatters[name] = {
:formatter => formatter,
:helper => helper,