diff options
author | aycabta <[email protected]> | 2019-11-25 05:38:09 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2019-11-25 05:38:09 +0900 |
commit | 51ea1abb5f2ed70387dda28a5d0d9ee817367d61 (patch) | |
tree | f7eb2f57a21436682212399ecc34dcacbb5b91c2 /lib/irb/init.rb | |
parent | efbca15116d4aea1588c6ba4ef0eb72c3c55c1db (diff) |
Remove e2mmap dependency
Diffstat (limited to 'lib/irb/init.rb')
-rw-r--r-- | lib/irb/init.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb index ebae37146f..2af872fd03 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -21,7 +21,7 @@ module IRB # :nodoc: IRB.load_modules unless @CONF[:PROMPT][@CONF[:PROMPT_MODE]] - IRB.fail(UndefinedPromptMode, @CONF[:PROMPT_MODE]) + fail UndefinedPromptMode, @CONF[:PROMPT_MODE] end end @@ -217,7 +217,7 @@ module IRB # :nodoc: end break when /^-/ - IRB.fail UnrecognizedSwitch, opt + fail UnrecognizedSwitch, opt else @CONF[:SCRIPT] = opt $0 = opt @@ -262,7 +262,7 @@ module IRB # :nodoc: when String return rc_file else - IRB.fail IllegalRCNameGenerator + fail IllegalRCNameGenerator end end |