Class: CarryOut::ConfiguredInstance
- Inherits:
-
Object
- Object
- CarryOut::ConfiguredInstance
- Defined in:
- lib/carry_out/configured_instance.rb
Instance Method Summary collapse
- #call_unit(*args, &block) ⇒ Object
-
#initialize(options = {}) ⇒ ConfiguredInstance
constructor
A new instance of ConfiguredInstance.
- #plan(options = {}, &block) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ ConfiguredInstance
Returns a new instance of ConfiguredInstance.
3 4 5 6 |
# File 'lib/carry_out/configured_instance.rb', line 3 def initialize( = {}) = Hash.new [:search] = [:search] if .has_key?(:search) end |
Instance Method Details
#call_unit(*args, &block) ⇒ Object
12 13 14 |
# File 'lib/carry_out/configured_instance.rb', line 12 def call_unit(*args, &block) CarryOut.call_unit(*args) end |
#plan(options = {}, &block) ⇒ Object
8 9 10 |
# File 'lib/carry_out/configured_instance.rb', line 8 def plan( = {}, &block) CarryOut.plan(Hash.new.merge().merge(), &block) end |