Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/revert_float_to_s.rb,
lib/redefine_float_to_s_for_metapost.rb
Overview
metapost cannot handle expoential notation for float strings. This redefines the Float#to_s so that it is compatible with metapost.
Instance Method Summary collapse
Instance Method Details
#orig_to_s ⇒ Object
6 7 8 |
# File 'lib/redefine_float_to_s_for_metapost.rb', line 6 def to_s orig_to_s end |
#to_s ⇒ Object
3 4 5 |
# File 'lib/revert_float_to_s.rb', line 3 def to_s orig_to_s end |