Class: Hbc::CaskDependencies

Inherits:
Array
  • Object
show all
Defined in:
Library/Homebrew/cask/lib/hbc/cask_dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cask) ⇒ CaskDependencies



9
10
11
12
13
# File 'Library/Homebrew/cask/lib/hbc/cask_dependencies.rb', line 9

def initialize(cask)
  @cask = cask
  @graph = graph_dependencies
  super(sort)
end

Instance Attribute Details

#caskObject (readonly)

Returns the value of attribute cask



7
8
9
# File 'Library/Homebrew/cask/lib/hbc/cask_dependencies.rb', line 7

def cask
  @cask
end

#graphObject (readonly)

Returns the value of attribute graph



7
8
9
# File 'Library/Homebrew/cask/lib/hbc/cask_dependencies.rb', line 7

def graph
  @graph
end