Module: Coppy::DSL::Module
- Included in:
- Coppy, Steps::Copy, Steps::Git, Steps::InFiles
- Defined in:
- lib/coppy/dsl.rb
Instance Method Summary collapse
Instance Method Details
#dsl ⇒ Object
19 20 21 |
# File 'lib/coppy/dsl.rb', line 19 def dsl @dsl ||= DSL.new end |
#step(name, step_class = nil, &block) ⇒ Object
23 24 25 |
# File 'lib/coppy/dsl.rb', line 23 def step(name, step_class = nil, &block) dsl.add_step(name, step_class, &block) end |