lib/tailor/tailorrc.erb in tailor-1.0.0.alpha2 vs lib/tailor/tailorrc.erb in tailor-1.0.0
- old
+ new
@@ -78,11 +78,11 @@
# trailing_newlines The number of newlines that should be at the end of
# the file.
# Default: 1
#
Tailor.config do |config|
- config.formatters <%= formatters %>
- config.file_set '<%= file_list %>' do
- <% style.each do |rule, value| %><%= rule %> <%= value %>
+ config.formatters "<%= formatters.join(", ") %>"
+ config.file_set '<%= file_list %>' do |style|
+ <% style.each do |rule, value| %>style.<%= rule %> = <%= value %>
<% end %>
end
end