class Mingle::ParsedNumber
Public Class Methods
impl_parse( s )
click to toggle source
# File lib/mingle.rb, line 1723 def self.impl_parse( s ) MingleParser.consume_string( s ) { |p| p.expect_number } end
Public Instance Methods
external_form()
click to toggle source
# File lib/mingle.rb, line 1719 def external_form ( @negative ? "-" : "" ) << @num.external_form end
hash()
click to toggle source
# File lib/mingle.rb, line 1714 def hash [ @negative, @num ].hash end