Sha256: af2b18cd8bea0153f4c1ac11e7d1c0e95b281d6b90717bd533d98c243b7a81d5
Contents?: true
Size: 609 Bytes
Versions: 29
Compression:
Stored size: 609 Bytes
Contents
module Lono class AbstractBase extend Memoist include Lono::Blueprint::Root def initialize(options={}) reinitialize(options) end # Hack so that we can use include Thor::Base 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 def template_path "#{Lono.config.output_path}/#{@blueprint}/templates/#{@template}.yml" end end end
Version data entries
29 entries across 29 versions & 1 rubygems