Monadic Approach to Ruby Error Handling

Refactoring