Class: Nydp::Builtin::Ensuring::InvokeProtection
- Includes:
- VM::Finally
- Defined in:
- lib/nydp/builtin/ensuring.rb
Instance Attribute Summary collapse
-
#protection ⇒ Object
readonly
Returns the value of attribute protection.
Instance Method Summary collapse
- #execute(vm) ⇒ Object
-
#initialize(protection) ⇒ InvokeProtection
constructor
A new instance of InvokeProtection.
Constructor Details
#initialize(protection) ⇒ InvokeProtection
Returns a new instance of InvokeProtection.
10 11 12 |
# File 'lib/nydp/builtin/ensuring.rb', line 10 def initialize protection @protection = protection end |
Instance Attribute Details
#protection ⇒ Object (readonly)
Returns the value of attribute protection.
8 9 10 |
# File 'lib/nydp/builtin/ensuring.rb', line 8 def protection @protection end |