Class: ProcType
Instance Method Summary collapse
-
#initialize(_proc) ⇒ ProcType
constructor
A new instance of ProcType.
- #procReturn ⇒ Object
Constructor Details
#initialize(_proc) ⇒ ProcType
Returns a new instance of ProcType.
120 121 122 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 120 def initialize(_proc) @p = _proc end |
Instance Method Details
#procReturn ⇒ Object
123 124 125 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 123 def procReturn @p.call end |