parse_int(string)
Parse and return an int from string
# File ext/psych/lib/psych/scalar_scanner.rb, line 115 def parse_int string return unless INTEGER === string Integer(string) end