class CAS::ZERO_CONSTANT

Class that represents the constant Zero (0)

Public Class Methods

new() click to toggle source

Initializer for the zero constant

* **returns**: `CAS::ZERO_CONSTANT` new instance
# File lib/numbers/constants.rb, line 151
def initialize
  @x = 0.0
end

Public Instance Methods

to_s() click to toggle source

String representation for the constant

* **returns**: `String`
# File lib/numbers/constants.rb, line 158
def to_s
  "0"
end