class CAS::MINUS_ONE_CONSTANT
Class that represents the constant Minus One (-1)
Public Class Methods
new()
click to toggle source
Initializer for the minus one constant
* **returns**: `CAS::MINUS_ONE_CONSTANT` new instance
# File lib/numbers/constants.rb, line 312 def initialize @x = -1.0 end
Public Instance Methods
to_s()
click to toggle source
String representation for the constant
* **returns**: `String`
# File lib/numbers/constants.rb, line 319 def to_s "-1" end