Lines Matching refs:installed
17 :installed => nil, :version => Gem::Requirement.default
19 add_option('-i', '--[no-]installed',
20 'Check for installed gem') do |value, options|
21 options[:installed] = value
24 add_option('-I', 'Equivalent to --no-installed') do |value, options|
25 options[:installed] = false
28 add_version_option command, "for use with --installed"
61 "--local --name-matches // --no-details --versions --no-installed"
70 unless options[:installed].nil? then
75 installed = installed? name, options[:version]
76 installed = !installed unless options[:installed]
78 if installed then
152 # Check if gem +name+ version +version+ is installed.
154 def installed?(name, req = Gem::Requirement.default)