Project

General

Profile

Actions

Bug #256

closed

defined?(Gem::RubyGemsVersion) behaves strange

Added by znz (Kazuhiro NISHIYAMA) about 14 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
ruby -v:
Backport:
[ruby-core:17739]

Description

=begin
% ruby-trunk -ve 'p defined?(Gem::RubyGemsVersion)
p Gem::RubyGemsVersion
p defined?(Gem::RubyGemsVersion)'
ruby 1.9.0 (2008-07-11 revision 18024) [i686-linux]
nil
"1.2.0.1824"
"constant"
%
=end

Actions

Also available in: Atom PDF