Module: Ruff::Standard::Defer
- Defined in:
- lib/ruff/standard/defer.rb
Overview
Defer
provides effects Defer.eff
,
and the implementation to defer procedures .
The module has an instance of Instance
and provides its methods as module method.
Defined Under Namespace
Classes: Instance
Instance Attribute Summary collapse
- #eff ⇒ Object readonly
Class Method Summary collapse
Instance Attribute Details
#eff ⇒ Object (readonly)
72 73 74 |
# File 'lib/ruff/standard/defer.rb', line 72 def eff @eff end |
Class Method Details
.register(&prc) ⇒ Object
60 61 62 |
# File 'lib/ruff/standard/defer.rb', line 60 def register(&prc) @inst.register(&prc) end |
.with(&th) ⇒ Object
65 66 67 |
# File 'lib/ruff/standard/defer.rb', line 65 def with(&th) @inst.with(&th) end |