Class: Escort::Setup::Dsl::ConfigFile
- Inherits:
-
Object
- Object
- Escort::Setup::Dsl::ConfigFile
- Defined in:
- lib/escort/setup/dsl/config_file.rb
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ ConfigFile
constructor
A new instance of ConfigFile.
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, = {}) @name = name #TODO possibly raise error if autocreate is not a boolean @autocreate = [:autocreate] || false end |