Class: Homebrew::Bundle::Dsl::Entry Private

Inherits:
Object
  • Object
show all
Defined in:
bundle/dsl.rb

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, name, options = {}) ⇒ Entry

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns a new instance of Entry.

[View source]

10
11
12
13
14
# File 'bundle/dsl.rb', line 10

def initialize(type, name, options = {})
  @type = type
  @name = name
  @options = options
end

Instance Attribute Details

#nameObject (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.


8
9
10
# File 'bundle/dsl.rb', line 8

def name
  @name
end

#optionsObject (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.


8
9
10
# File 'bundle/dsl.rb', line 8

def options
  @options
end

#typeObject (readonly)

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.


8
9
10
# File 'bundle/dsl.rb', line 8

def type
  @type
end