Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/monkey-fuck.rb
Instance Method Summary collapse
Instance Method Details
#to_s(num = 10) ⇒ Object
20 21 22 |
# File 'lib/monkey-fuck.rb', line 20 def to_s(num = 10) "8" + ("=" * self.to_i) + "D" + ("~" * ((self % 1) * 10).round) end |