Method: Bundler::CLI::Show#initialize

Defined in:
lib/bundler/cli/show.rb

#initialize(options, gem_name) ⇒ Show

Returns a new instance of Show.

[View source]

6
7
8
9
10
11
# File 'lib/bundler/cli/show.rb', line 6

def initialize(options, gem_name)
  @options = options
  @gem_name = gem_name
  @verbose = options[:verbose] || options[:outdated]
  @latest_specs = fetch_latest_specs if @verbose
end