Class: Escort::Setup::Dsl::ConfigFile

Inherits:
Object
  • Object
show all
Defined in:
lib/escort/setup/dsl/config_file.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, options = {}) ⇒ ConfigFile

Returns a new instance of ConfigFile.



5
6
7
8
9
# File 'lib/escort/setup/dsl/config_file.rb', line 5

def initialize(name, options = {})
  @name = name
  #TODO possibly raise error if autocreate is not a boolean
  @autocreate = options[:autocreate] || false
end