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