Module: Sevgi::Function::Float
- Included in:
- Sevgi::Function
- Defined in:
- lib/sevgi/graphics/internal/float.rb
Instance Method Summary collapse
Instance Method Details
#prettify(*args) ⇒ Object
6 |
# File 'lib/sevgi/graphics/internal/float.rb', line 6 def prettify(*args) = args.map { (i = _1.to_i) == _1.to_f ? i : _1 } |