class Lono::AbstractBase
Public Class Methods
new(options={})
click to toggle source
# File lib/lono/abstract_base.rb, line 6 def initialize(options={}) reinitialize(options) end
Public Instance Methods
reinitialize(options)
click to toggle source
Hack so that we can use include Thor::Base
# File lib/lono/abstract_base.rb, line 11 def reinitialize(options) @options = options Lono::ProjectChecker.check @stack, @blueprint, @template, @param = Conventions.new(options).values return if options[:source] set_blueprint_root(@blueprint) Lono::ProjectChecker.empty_templates end
template_path()
click to toggle source
# File lib/lono/abstract_base.rb, line 21 def template_path "#{Lono.config.output_path}/#{@blueprint}/templates/#{@template}.yml" end