BigDecimal.save_limit { ... }
Class Public methods
Excecute the provided block, but preserve the precision limit
1 2 3 4 5 6 7 | BigDecimal.limit( 100 ) puts BigDecimal.limit BigDecimal.save_limit do BigDecimal.limit( 200 ) puts BigDecimal.limit end puts BigDecimal.limit |
Please login to continue.