diff options
author | aycabta <[email protected]> | 2021-02-09 17:29:38 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-02-11 20:36:43 +0900 |
commit | 6eb5b3ac27ceebc0c6a1306678377c016552c9ad (patch) | |
tree | 5ec89473196d0f43a23b7891a63a8f86d3ffe229 /lib/irb/cmd | |
parent | b2d2d25b94fd9699408759f5b8b394f54f57ef89 (diff) |
[ruby/irb] The command "irb_info" should show RUBY_PLATFORM
https://github.com/ruby/irb/commit/39d1cd874f
Diffstat (limited to 'lib/irb/cmd')
-rw-r--r-- | lib/irb/cmd/info.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/irb/cmd/info.rb b/lib/irb/cmd/info.rb index 53ec71d754..d122c88b77 100644 --- a/lib/irb/cmd/info.rb +++ b/lib/irb/cmd/info.rb @@ -13,6 +13,7 @@ module IRB str += "IRB version: #{IRB.version}\n" str += "InputMethod: #{IRB.CurrentContext.io.inspect}\n" str += ".irbrc path: #{IRB.rc_file}\n" if File.exist?(IRB.rc_file) + str += "RUBY_PLATFORM: #{RUBY_PLATFORM}\n" str end alias_method :to_s, :inspect |