Class: Eye::Patch::Settings

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/eye/patch/settings.rb

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ Settings

Returns a new instance of Settings.



11
12
13
# File 'lib/eye/patch/settings.rb', line 11

def initialize(filename)
  @settings = YAML.load(ERB.new(File.read(filename)).result)
end