Module: Acclaim::Option::Type::BigDecimal

Defined in:
lib/acclaim/option/type/big_decimal.rb

Overview

Handles big decimals given as arguments in the command line.

Since:

  • 0.0.1

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Returns BigDecimal.new(str).

Since:

  • 0.0.1



12
13
14
# File 'lib/acclaim/option/type/big_decimal.rb', line 12

def self.handle(str)
  ::BigDecimal.new str
end