mirror of
https://github.com/redmine/redmine.git
synced 2025-10-28 16:56:18 +01:00
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19192 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -172,7 +172,8 @@ module Redmine
|
||||
# Builtin macros
|
||||
desc "Sample macro."
|
||||
macro :hello_world do |obj, args, text|
|
||||
h("Hello world! Object: #{obj.class.name}, " +
|
||||
h(
|
||||
"Hello world! Object: #{obj.class.name}, " +
|
||||
(args.empty? ? "Called with no argument" : "Arguments: #{args.join(', ')}") +
|
||||
" and " + (text.present? ? "a #{text.size} bytes long block of text." : "no block of text.")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user