aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb
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
commit0064fa4ea27d83ca4eeaf0290b3ba48a321fd4c7 (patch)
tree28b11ae602addfb3e6de51e0b8434baf4b16e6df /lib/irb
parentdb7d8f502f7daa8fad0f75fa4897371a9899b973 (diff)
downloadruby-0064fa4ea27d83ca4eeaf0290b3ba48a321fd4c7.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/irb')
-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