lib/generators/kapellmeister/templates/lib/third_party/configuration.rb.tt in kapellmeister-0.1.0 vs lib/generators/kapellmeister/templates/lib/third_party/configuration.rb.tt in kapellmeister-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
class <%= class_name %>::Configuration
- attr_accessor <%= initialize_signatures.join(', ') %>
+ attr_accessor <%= initialize_signatures.merge(:path, :logger).join(', ') %>
def initialize
@path = ''
@logger = ::Logger.new(Rails.env.development? ? $stdout : 'log/<%=file_name %>.log')
end