Module: Eye::Patch

Defined in:
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,
lib/eye/patch.rb

Defined Under Namespace

Classes: Application, Config, GroupSet, OptionSet, ProcessSet, Settings, ValueParser

Constant Summary collapse

VERSION =
"0.0.7"

Class Method Summary collapse

Class Method Details

.parse(filename) ⇒ Object



17
18
19
20
21
22
23
24
25
26
# File 'lib/eye/patch.rb', line 17

def self.parse(filename)
  settings = Settings.new(filename)

  config = ::Eye::Config.new(
    Config.new(settings),
    Application.new(settings))
  config.validate!

  config
end