mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Use different string dup to make rubocop happy
This commit is contained in:
parent
e9d4cdcd2b
commit
729f72cc9a
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ module Middleman
|
|||
classes << 'ignored' if @resource.ignored?
|
||||
content_tag :div, class: classes.join(' ') do
|
||||
content_tag :table do
|
||||
content = ''.dup
|
||||
content = +''
|
||||
resource_properties.each do |label, value|
|
||||
content << content_tag(:tr) do
|
||||
row_content = ''.dup
|
||||
row_content = +''
|
||||
row_content << content_tag(:th, label)
|
||||
row_content << content_tag(:td, value)
|
||||
row_content.html_safe
|
||||
|
|
Loading…
Reference in a new issue