Module: Eye::Patch
- Defined in:
- lib/eye/patch.rb,
lib/eye/patch/version.rb,
lib/eye/patch/settings.rb,
lib/eye/patch/group_set.rb,
lib/eye/patch/option_set.rb,
lib/eye/patch/application.rb,
lib/eye/patch/process_set.rb,
lib/eye/patch/value_parser.rb
Defined Under Namespace
Classes: Application, Config, GroupSet, OptionSet, ProcessSet, Settings, ValueParser
Constant Summary collapse
- VERSION =
"1.1.0"
Class Method Summary collapse
Class Method Details
.parse(filename) ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/eye/patch.rb', line 29 def self.parse(filename) settings = Settings.new(filename) config = ::Eye::Config.new( Config.new(settings), Application.new(settings), ) config.validate! config.applications.values.each do |application| next unless application[:setup_file] require File.join(application[:working_dir], application[:setup_file]) end config end |