class Number
Public Class Methods
new(string_representation_from_discord, source="discord")
click to toggle source
# File browser/ezii-1.0.0/ezii-server/eezee.rb, line 55 def initialize(string_representation_from_discord, source="discord") @source = source @string_representation_from_discord = string_representation_from_discord end
Public Instance Methods
to_s()
click to toggle source
# File browser/ezii-1.0.0/ezii-server/eezee.rb, line 60 def to_s """ NUMBER STRING REPRESENTATION FROM #{@source.upcase} #{@string_representation_from_discord} RUBY #{RUBY_ENGINE} #{RUBY_VERSION} FLOAT #{@string_representation_from_discord.to_f} RUBY #{RUBY_ENGINE} #{RUBY_VERSION} BIG DECIMAL #{BigDecimal(@string_representation_from_discord)} RUBY #{RUBY_ENGINE} #{RUBY_VERSION} INTEGER #{@string_representation_from_discord.to_i} PYTHON #{"runtime X"} #{"version X"} INTEGER tbi by @gurrenm3 or @gurrenm4 PYTHON #{"runtime X"} #{"version X"} FLOAT tbi by @gurrenm3 or @gurrenm4 """ end