class Potassium::ApplicationGenerator
Attributes
cli_options[RW]
Public Instance Methods
finish_template()
click to toggle source
Calls superclass method
# File lib/potassium/generators/application.rb, line 12 def finish_template require_relative "../helpers/template-dsl" TemplateDSL.extend_dsl(self, source_path: __FILE__) template_location = File.expand_path('../templates/application.rb', File.dirname(__FILE__)) instance_eval File.read(template_location), template_location super after_bundle do git :init git add: "." git commit: %{ -m 'Initial commit' -q } end end