Execute the provided block, but preserve the exception mode
BigDecimal.save_exception_mode do BigDecimal.mode(BigDecimal::EXCEPTION_OVERFLOW, false) BigDecimal.mode(BigDecimal::EXCEPTION_NaN, false) BigDecimal.new(BigDecimal('Infinity')) BigDecimal.new(BigDecimal('-Infinity')) BigDecimal(BigDecimal.new('NaN')) end
For use with the BigDecimal::EXCEPTION_*
See BigDecimal.mode
Returns the array of WIN32OLE_METHOD
object . The element of the array is property (settable) of WIN32OLE
object.
excel = WIN32OLE.new('Excel.Application') properties = excel.ole_func_methods