Class: Lono::Configset::Register::Project

Inherits:
Base show all
Defined in:
lib/lono/configset/register/project.rb

Instance Method Summary collapse

Methods inherited from Base

append, clear!, #finder_class, has?, #jade_type, #jadify, prepend, #pretty_trace, #register, #show_errors_and_exit!, #store_for_validation, #validate!

Methods included from EvaluateFile

#evaluate_file

Methods included from Dsl

#configset, #source

Methods inherited from AbstractBase

#initialize, #reinitialize, #template_path

Methods included from Blueprint::Root

#find_blueprint_root, #set_blueprint_root

Constructor Details

This class inherits a constructor from Lono::AbstractBase

Instance Method Details

#evaluateObject



6
7
8
9
10
# File 'lib/lono/configset/register/project.rb', line 6

def evaluate
  location = Lono::ConfigLocation.new("configsets", @options, Lono.env)
  evaluate_file(location.lookup_base) if location.lookup_base
  evaluate_file(location.lookup) if location.lookup # config file
end