Class: Homebrew::Bundle::Dsl::Entry Private
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
- #name ⇒ String readonly private
- #options ⇒ Homebrew::Bundle::EntryOptions readonly private
- #type ⇒ Symbol readonly private
Instance Method Summary collapse
- #initialize(type, name, options = {}) ⇒ void constructor private
Constructor Details
#initialize(type, name, options = {}) ⇒ void
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.
25 26 27 28 29 |
# File 'bundle/dsl.rb', line 25 def initialize(type, name, = {}) @type = type @name = name @options = end |
Instance Attribute Details
#name ⇒ String (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.
19 20 21 |
# File 'bundle/dsl.rb', line 19 def name @name end |
#options ⇒ Homebrew::Bundle::EntryOptions (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.
22 23 24 |
# File 'bundle/dsl.rb', line 22 def @options end |
#type ⇒ Symbol (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.
16 17 18 |
# File 'bundle/dsl.rb', line 16 def type @type end |