Method: Bundler::Graph#initialize
- Defined in:
- lib/bundler/graph.rb
#initialize(env, output_file, show_version = false, show_requirements = false, output_format = "png", without = []) ⇒ Graph
Returns a new instance of Graph.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/bundler/graph.rb', line 8 def initialize(env, output_file, show_version = false, show_requirements = false, output_format = "png", without = []) @env = env @output_file = output_file @show_version = show_version @show_requirements = show_requirements @output_format = output_format @without_groups = without.map(&:to_sym) @groups = [] @relations = Hash.new {|h, k| h[k] = Set.new } = {} = {} _populate_relations end |