Class: Version::UrlParser Private

Inherits:
RegexParser show all
Extended by:
T::Sig
Defined in:
brew/Library/Homebrew/version/parser.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

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. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

Returns:



49
50
51
# File 'brew/Library/Homebrew/version/parser.rb', line 49

def self.process_spec(spec)
  spec.to_s
end