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.

Author:

  • Matheus Afonso Martins Moreira

Since:

  • 0.3.0

Class Method Summary collapse

Class Method Details

.handle(str) ⇒ Object

Returns BigDecimal.new(str).

Since:

  • 0.3.0



15
16
17
# File 'lib/acclaim/option/type/big_decimal.rb', line 15

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