Class: Coppy::Manifesto
- Inherits:
-
Object
- Object
- Coppy::Manifesto
- Defined in:
- lib/coppy/manifesto.rb
Defined Under Namespace
Classes: Builder
Constant Summary collapse
- InvalidManifesto =
Class.new(StandardError)
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#execute!(env) ⇒ Object
11 12 13 14 15 |
# File 'lib/coppy/manifesto.rb', line 11 def execute!(env) steps.each do |step| step.call(env) end end |
#steps ⇒ Object
7 8 9 |
# File 'lib/coppy/manifesto.rb', line 7 def steps @steps ||= [] end |