Class: EnumProcType

Inherits:
EnumType show all
Defined in:
ext/ae-rad/ae-rad-libs.rb

Direct Known Subclasses

ObjEnumProcType

Instance Attribute Summary

Attributes inherited from EnumType

#values

Instance Method Summary collapse

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

#procReturnObject



144
145
146
# File 'ext/ae-rad/ae-rad-libs.rb', line 144

def procReturn
  @p.call
end