Method: Foraneus.float
- Defined in:
- lib/foraneus.rb
.float(name, *args) ⇒ Object
Declares a float field.
58 59 60 61 |
# File 'lib/foraneus.rb', line 58 def self.float(name, *args) converter = Foraneus::Converters::Float.new(*args) field(name, converter) end |