summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 15:01:07 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-12 15:01:07 +0000
commit38054f99aaf6872e9ebcf683ac7c230a9926ed6f (patch)
tree28b11ae602addfb3e6de51e0b8434baf4b16e6df /lib
parente03ea9c5963ffeb97b5d4a2d365dec69f61e8f91 (diff)
downloadruby-38054f99aaf6872e9ebcf683ac7c230a9926ed6f.tar.gz
Remove unnecessary `:`
Before: `.../irb/init.rb:280: warning: :LoadError: cannot load such file -- hoge` After: `.../irb/init.rb:280: warning: LoadError: cannot load such file -- hoge` [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index c50e3421ec..a971b75ac3 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -277,7 +277,7 @@ module IRB # :nodoc:
begin
require m
rescue LoadError => err
- warn ":#{err.class}: #{err}", uplevel: 0
+ warn "#{err.class}: #{err}", uplevel: 0
end
end
end