Class: Smith::Budget::DecimalContext

Inherits:
Object
  • Object
show all
Defined in:
lib/smith/budget/decimal_context.rb

Class Method Summary collapse

Class Method Details

.callObject



8
9
10
11
12
13
# File 'lib/smith/budget/decimal_context.rb', line 8

def self.call
  BigDecimal.save_limit do
    BigDecimal.limit(0)
    yield
  end
end