Created
May 29, 2020 08:06
-
-
Save r7kamura/9542e2a14433b7f40b0f693b34828779 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 MyError < StandardError | |
def initialize(**options) | |
p options | |
end | |
end | |
raise MyError, foo: :bar |
Author
r7kamura
commented
May 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment