diff options
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index f2c7959cae..ee3e649e81 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -356,8 +356,7 @@ module IRB def IRB.version if v = @CONF[:VERSION] then return v end - rv = @RELEASE_VERSION.sub(/\.0/, "") - @CONF[:VERSION] = format("irb %s(%s)", rv, @LAST_UPDATE_DATE) + @CONF[:VERSION] = format("irb %s (%s)", @RELEASE_VERSION, @LAST_UPDATE_DATE) end # The current IRB::Context of the session, see IRB.conf |