Module: Parser::Messages Private
- Defined in:
- sorbet/rbi/parser@3.3.7.4.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
3232 |
# File 'sorbet/rbi/parser@3.3.7.4.rbi', line 3232 def compile(reason, arguments); end |