Class: EnumProcType
- Defined in:
- ext/ae-rad/ae-rad-libs.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from EnumType
Instance Method Summary collapse
-
#initialize(_proc, *args) ⇒ EnumProcType
constructor
A new instance of EnumProcType.
- #procReturn ⇒ Object
Constructor Details
#initialize(_proc, *args) ⇒ EnumProcType
Returns a new instance of EnumProcType.
140 141 142 143 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 140 def initialize(_proc, *args) @p = _proc super(*args) end |
Instance Method Details
#procReturn ⇒ Object
144 145 146 |
# File 'ext/ae-rad/ae-rad-libs.rb', line 144 def procReturn @p.call end |