Class: PlacerDSL
- Inherits:
-
Object
- Object
- PlacerDSL
- Defined in:
- lib/placer_dsl.rb
Instance Method Summary collapse
-
#initialize(config, logger) ⇒ PlacerDSL
constructor
A new instance of PlacerDSL.
- #sftp(&block) ⇒ Object
- #ssh(&block) ⇒ Object
Constructor Details
#initialize(config, logger) ⇒ PlacerDSL
Returns a new instance of PlacerDSL.
45 46 47 48 49 |
# File 'lib/placer_dsl.rb', line 45 def initialize(config, logger) @logger = logger instance_eval config end |