Spec-Zone.ru › Homebrew

Module: Parser::Messages Private

Defined in:
sorbet/rbi/parser@3.3.8.0.rbi

Overview

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

source://parser//lib/parser/messages.rb#112

Class Method Summary collapse

  • .compile(reason, arguments) ⇒ Object private

    Formats the message, returns a raw template if there's nothing to interpolate.

Class Method Details

.compile(reason, arguments) ⇒ 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.

Formats the message, returns a raw template if there's nothing to interpolate

Code like format("", {}) gives a warning, and so this method tries interpolating only if arguments hash is not empty.

source://parser//lib/parser/messages.rb#119



3238
# File 'sorbet/rbi/parser@3.3.8.0.rbi', line 3238

def compile(reason, arguments); end

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

Spec-Zone.ru

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