class Numeric
Public Instance Methods
to_plus_minus_string()
click to toggle source
returns a string with a + or - on the front
# File lib/ms/ident/pepxml.rb, line 11 def to_plus_minus_string if self >= 0 '+' << self.to_s else self.to_s end end