Created
April 19, 2015 09:01
-
-
Save tsujigiri/085853bc9743332356db to your computer and use it in GitHub Desktop.
Instant Maybe monads in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NilClass | |
def method_missing(*_) | |
nil | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment