Spec-Zone.ru › Homebrew

Class: Resource::Partial Private

Inherits:
Struct
  • Object
  • Struct
  • Resource::Partial
show all
Defined in:
resource.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

  • #files ⇒ Object private

    Returns the value of attribute files.

  • #resource ⇒ Object private

    Returns the value of attribute resource.

Instance Attribute Details

#files ⇒ Object

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 the value of attribute files

Returns:

  • (Object) —

    the current value of files



158
159
160
# File 'resource.rb', line 158

def files
  @files
end

#resource ⇒ Object

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 the value of attribute resource

Returns:

  • (Object) —

    the current value of resource



158
159
160
# File 'resource.rb', line 158

def resource
  @resource
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Resource/Partial.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API