Module: Acclaim::Option::Type::Float
- Defined in:
- lib/acclaim/option/type/float.rb
Overview
Handles floating point numbers given as arguments in the command line.
Class Method Summary collapse
-
.handle(str) ⇒ Object
Simply returns
str.to_f
.
Class Method Details
.handle(str) ⇒ Object
Simply returns str.to_f
.
14 15 16 |
# File 'lib/acclaim/option/type/float.rb', line 14 def self.handle(str) str.to_f end |