1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Fix and improve version string by @stomar

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-12-12 07:41:10 +00:00
parent 57a67eb8a4
commit e913ecfded
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -13,5 +13,5 @@
module IRB # :nodoc:
VERSION = "0.9.6"
@RELEASE_VERSION = VERSION
@LAST_UPDATE_DATE = "09/06/30"
@LAST_UPDATE_DATE = "2009-06-30"
end