diff options
author | Yusuke Endoh <[email protected]> | 2020-01-29 00:21:25 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2020-02-02 03:22:51 +0900 |
commit | 7e2ed7d1aaee74b6d1df82f8f97677c513b3878b (patch) | |
tree | 348c75e5262077896c6e8ddff035e9fdabd833da /lib/irb/completion.rb | |
parent | 37e0f55c5a317b2b974997ee28131705222484b7 (diff) |
[ruby/irb] Add a new easter egg: dancing ruby
https://github.com/ruby/irb/commit/e37dc7e58e
Diffstat (limited to 'lib/irb/completion.rb')
-rw-r--r-- | lib/irb/completion.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/irb/completion.rb b/lib/irb/completion.rb index 474d13cdbb..1897b4928f 100644 --- a/lib/irb/completion.rb +++ b/lib/irb/completion.rb @@ -268,11 +268,7 @@ module IRB PerfectMatchedProc = ->(matched) { RDocRIDriver ||= RDoc::RI::Driver.new if matched =~ /\A(?:::)?RubyVM/ and not ENV['RUBY_YES_I_AM_NOT_A_NORMAL_USER'] - File.open(File.join(__dir__, 'ruby_logo.aa')) do |f| - RDocRIDriver.page do |io| - IO.copy_stream(f, io) - end - end + IRB.send(:easter_egg) return end namespace = retrieve_completion_data(matched, doc_namespace: true) |