Class: Bailiff::Instrument
- Defined in:
- lib/bailiff/instrument.rb
Instance Attribute Summary
Attributes included from Core
#commands, #dependencies, #instruments
Instance Method Summary collapse
-
#initialize(context, &block) ⇒ Instrument
constructor
A new instance of Instrument.
Methods included from Ruby
Methods included from Apt
Methods included from Core
#after, #before, #context, #dependency, #execute, #has_package, #instrument, #package, #resolve, #run, #write_file
Constructor Details
#initialize(context, &block) ⇒ Instrument
Returns a new instance of Instrument.
4 5 6 7 |
# File 'lib/bailiff/instrument.rb', line 4 def initialize(context, &block) @context = context instance_eval(&block) end |