Spec-Zone.ru › Homebrew

Class: Version::UrlParser Private

Inherits:
RegexParser
  • Object
  • Parser
  • RegexParser
  • Version::UrlParser
show all
Defined in:
version/parser.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.

Class Method Summary collapse

  • .process_spec(spec) ⇒ String private

Methods inherited from RegexParser

#initialize, #parse

Methods inherited from Parser

#parse

Constructor Details

This class inherits a constructor from Version::RegexParser

Class Method Details

.process_spec(spec) ⇒ String

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.

Parameters:

  • spec (Pathname)

Returns:

  • (String)


44
45
46
# File 'version/parser.rb', line 44

def self.process_spec(spec)
  spec.to_s
end

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

Spec-Zone.ru

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