Module: RubyValve::Core
- Included in:
- Base
- Defined in:
- lib/ruby_valve/core.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
-
#executed ⇒ Object
readonly
Returns the value of attribute executed.
-
#executed_steps ⇒ Object
readonly
Returns the value of attribute executed_steps.
Instance Method Summary collapse
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
5 6 7 |
# File 'lib/ruby_valve/core.rb', line 5 def exception @exception end |
#executed ⇒ Object (readonly)
Returns the value of attribute executed.
5 6 7 |
# File 'lib/ruby_valve/core.rb', line 5 def executed @executed end |
#executed_steps ⇒ Object (readonly)
Returns the value of attribute executed_steps.
5 6 7 |
# File 'lib/ruby_valve/core.rb', line 5 def executed_steps @executed_steps end |
Instance Method Details
#execute ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ruby_valve/core.rb', line 11 def execute init if respond_to?(:after_exception) begin execute_methods rescue => e @exception = e send(:after_exception) end else execute_methods end end |
#init ⇒ Object
7 8 9 |
# File 'lib/ruby_valve/core.rb', line 7 def init @skip_list = [] end |
#response ⇒ Object
27 28 29 |
# File 'lib/ruby_valve/core.rb', line 27 def response @response end |