class Float
Public Instance Methods
to_lit()
click to toggle source
@return [String] literal representation in the {Cog::Config::LanguageConfig#active_language Cog.active_language}
# File lib/cog/primitive.rb, line 46 def to_lit Cog.active_language.to_float(self) || Cog.active_language.to_double(self) end