Ruby - Error Handling
Given this code:
What happens if an exception of type
begin # code rescue IOError puts 'IO error' rescue puts 'Generic error' end
What happens if an exception of type
EOFError is raised, knowing EOFError inherits from IOError?