Class: RuboCop::Cask::AST::Stanza Private
- Extended by:
- Forwardable
- Defined in:
- rubocops/cask/ast/stanza.rb,
sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi
Overview
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.
This class wraps the AST send/block node that encapsulates the method call that comprises the stanza. It includes various helper methods to aid cops in their analysis.
Instance Attribute Summary collapse
- #all_comments ⇒ Array<Parser::Source::Comment, String> readonly private
- #method_node ⇒ RuboCop::AST::Node (also: #stanza_node) readonly private
Instance Method Summary collapse
- #app? ⇒ Boolean private
- #appcast? ⇒ Boolean private
- #arch? ⇒ Boolean private
- #arch_variable?(*args, &block) ⇒ Boolean private
- #artifact? ⇒ Boolean private
- #audio_unit_plugin? ⇒ Boolean private
- #auto_updates? ⇒ Boolean private
- #binary? ⇒ Boolean private
- #caveats? ⇒ Boolean private
- #colorpicker? ⇒ Boolean private
- #comments ⇒ Array<Parser::Source::Comment> private
- #comments_hash ⇒ Hash{Parser::Source::Range => Array<Parser::Source::Comment>} private
- #conflicts_with? ⇒ Boolean private
- #container? ⇒ Boolean private
- #depends_on? ⇒ Boolean private
- #desc? ⇒ Boolean private
- #dictionary? ⇒ Boolean private
- #font? ⇒ Boolean private
- #homepage? ⇒ Boolean private
- #initialize(method_node, all_comments) ⇒ void constructor private
- #input_method? ⇒ Boolean private
- #installer? ⇒ Boolean private
- #internet_plugin? ⇒ Boolean private
- #keyboard_layout? ⇒ Boolean private
- #language? ⇒ Boolean private
- #livecheck? ⇒ Boolean private
- #manpage? ⇒ Boolean private
- #mdimporter? ⇒ Boolean private
- #name? ⇒ Boolean private
- #on_arch_conditional? ⇒ Boolean private
- #on_arm? ⇒ Boolean private
- #on_big_sur? ⇒ Boolean private
- #on_catalina? ⇒ Boolean private
- #on_el_capitan? ⇒ Boolean private
- #on_high_sierra? ⇒ Boolean private
- #on_intel? ⇒ Boolean private
- #on_mojave? ⇒ Boolean private
- #on_monterey? ⇒ Boolean private
- #on_sequoia? ⇒ Boolean private
- #on_sierra? ⇒ Boolean private
- #on_sonoma? ⇒ Boolean private
- #on_system_block?(*args, &block) ⇒ Boolean private
- #on_ventura? ⇒ Boolean private
- #parent_node(*args, &block) ⇒ T.untyped private
- #pkg? ⇒ Boolean private
- #postflight? ⇒ Boolean private
- #preflight? ⇒ Boolean private
- #prefpane? ⇒ Boolean private
- #qlplugin? ⇒ Boolean private
- #same_group?(other) ⇒ Boolean private
- #screen_saver? ⇒ Boolean private
- #service? ⇒ Boolean private
- #sha256? ⇒ Boolean private
- #source(*args, &block) ⇒ T.untyped private
- #source_range ⇒ Parser::Source::Range private
- #source_range_with_comments ⇒ Parser::Source::Range private
- #source_with_comments(*args, &block) ⇒ T.untyped private
- #stage_only? ⇒ Boolean private
- #stanza_group ⇒ Array<Symbol>? private
- #stanza_index ⇒ Integer? private
- #stanza_name ⇒ Symbol private
- #suite? ⇒ Boolean private
- #uninstall? ⇒ Boolean private
- #uninstall_postflight? ⇒ Boolean private
- #uninstall_preflight? ⇒ Boolean private
- #url? ⇒ Boolean private
- #version? ⇒ Boolean private
- #vst3_plugin? ⇒ Boolean private
- #vst_plugin? ⇒ Boolean private
- #zap? ⇒ Boolean private
Constructor Details
#initialize(method_node, all_comments) ⇒ void
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.
21 22 23 24 |
# File 'rubocops/cask/ast/stanza.rb', line 21 def initialize(method_node, all_comments) @method_node = T.let(method_node, RuboCop::AST::Node) @all_comments = T.let(all_comments, T::Array[T.any(String, Parser::Source::Comment)]) end |
Instance Attribute Details
#all_comments ⇒ Array<Parser::Source::Comment, String> (readonly)
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.
31 32 33 |
# File 'rubocops/cask/ast/stanza.rb', line 31 def all_comments @all_comments end |
#method_node ⇒ RuboCop::AST::Node (readonly) Also known as: stanza_node
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.
27 28 29 |
# File 'rubocops/cask/ast/stanza.rb', line 27 def method_node @method_node end |
Instance Method Details
#app? ⇒ Boolean
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.
10 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 10 def app?; end |
#appcast? ⇒ Boolean
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.
13 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 13 def appcast?; end |
#arch? ⇒ Boolean
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.
16 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 16 def arch?; end |
#arch_variable?(*args, &block) ⇒ Boolean
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.
19 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 19 def arch_variable?(*args, &block); end |
#artifact? ⇒ Boolean
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.
22 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 22 def artifact?; end |
#audio_unit_plugin? ⇒ Boolean
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.
25 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 25 def audio_unit_plugin?; end |
#auto_updates? ⇒ Boolean
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.
28 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 28 def auto_updates?; end |
#binary? ⇒ Boolean
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.
31 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 31 def binary?; end |
#caveats? ⇒ Boolean
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.
34 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 34 def caveats?; end |
#colorpicker? ⇒ Boolean
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.
37 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 37 def colorpicker?; end |
#comments ⇒ Array<Parser::Source::Comment>
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.
77 78 79 80 81 82 83 84 |
# File 'rubocops/cask/ast/stanza.rb', line 77 def comments @comments ||= T.let( stanza_node.each_node.reduce([]) do |comments, node| comments | comments_hash[node.loc] end, T.nilable(T::Array[Parser::Source::Comment]), ) end |
#comments_hash ⇒ Hash{Parser::Source::Range => Array<Parser::Source::Comment>}
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.
87 88 89 90 91 92 |
# File 'rubocops/cask/ast/stanza.rb', line 87 def comments_hash @comments_hash ||= T.let( Parser::Source::Comment.associate_locations(stanza_node.parent, all_comments), T.nilable(T::Hash[Parser::Source::Range, T::Array[Parser::Source::Comment]]), ) end |
#conflicts_with? ⇒ Boolean
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.
40 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 40 def conflicts_with?; end |
#container? ⇒ Boolean
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.
43 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 43 def container?; end |
#depends_on? ⇒ Boolean
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.
46 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 46 def depends_on?; end |
#desc? ⇒ Boolean
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.
49 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 49 def desc?; end |
#dictionary? ⇒ Boolean
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.
52 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 52 def dictionary?; end |
#font? ⇒ Boolean
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.
55 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 55 def font?; end |
#homepage? ⇒ Boolean
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.
58 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 58 def homepage?; end |
#input_method? ⇒ Boolean
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.
61 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 61 def input_method?; end |
#installer? ⇒ Boolean
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.
64 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 64 def installer?; end |
#internet_plugin? ⇒ Boolean
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.
67 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 67 def internet_plugin?; end |
#keyboard_layout? ⇒ Boolean
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.
70 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 70 def keyboard_layout?; end |
#language? ⇒ Boolean
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.
73 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 73 def language?; end |
#livecheck? ⇒ Boolean
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.
76 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 76 def livecheck?; end |
#manpage? ⇒ Boolean
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.
79 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 79 def manpage?; end |
#mdimporter? ⇒ Boolean
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.
82 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 82 def mdimporter?; end |
#name? ⇒ Boolean
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.
85 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 85 def name?; end |
#on_arch_conditional? ⇒ Boolean
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.
88 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 88 def on_arch_conditional?; end |
#on_arm? ⇒ Boolean
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.
91 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 91 def on_arm?; end |
#on_big_sur? ⇒ Boolean
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.
94 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 94 def on_big_sur?; end |
#on_catalina? ⇒ Boolean
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.
97 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 97 def on_catalina?; end |
#on_el_capitan? ⇒ Boolean
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.
100 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 100 def on_el_capitan?; end |
#on_high_sierra? ⇒ Boolean
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.
103 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 103 def on_high_sierra?; end |
#on_intel? ⇒ Boolean
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.
106 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 106 def on_intel?; end |
#on_mojave? ⇒ Boolean
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.
109 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 109 def on_mojave?; end |
#on_monterey? ⇒ Boolean
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.
112 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 112 def on_monterey?; end |
#on_sequoia? ⇒ Boolean
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.
115 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 115 def on_sequoia?; end |
#on_sierra? ⇒ Boolean
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.
118 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 118 def on_sierra?; end |
#on_sonoma? ⇒ Boolean
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.
121 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 121 def on_sonoma?; end |
#on_system_block?(*args, &block) ⇒ Boolean
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.
124 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 124 def on_system_block?(*args, &block); end |
#on_ventura? ⇒ Boolean
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.
127 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 127 def on_ventura?; end |
#parent_node(*args, &block) ⇒ T.untyped
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.
130 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 130 def parent_node(*args, &block); end |
#pkg? ⇒ Boolean
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.
133 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 133 def pkg?; end |
#postflight? ⇒ Boolean
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.
136 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 136 def postflight?; end |
#preflight? ⇒ Boolean
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.
139 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 139 def preflight?; end |
#prefpane? ⇒ Boolean
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.
142 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 142 def prefpane?; end |
#qlplugin? ⇒ Boolean
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.
145 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 145 def qlplugin?; end |
#same_group?(other) ⇒ Boolean
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.
72 73 74 |
# File 'rubocops/cask/ast/stanza.rb', line 72 def same_group?(other) stanza_group == other.stanza_group end |
#screen_saver? ⇒ Boolean
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.
148 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 148 def screen_saver?; end |
#service? ⇒ Boolean
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.
151 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 151 def service?; end |
#sha256? ⇒ Boolean
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.
154 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 154 def sha256?; end |
#source(*args, &block) ⇒ T.untyped
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.
157 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 157 def source(*args, &block); end |
#source_range ⇒ Parser::Source::Range
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.
38 39 40 |
# File 'rubocops/cask/ast/stanza.rb', line 38 def source_range stanza_node.location_expression end |
#source_range_with_comments ⇒ Parser::Source::Range
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.
43 44 45 46 47 |
# File 'rubocops/cask/ast/stanza.rb', line 43 def source_range_with_comments comments.reduce(source_range) do |range, comment| range.join(comment.loc.expression) end end |
#source_with_comments(*args, &block) ⇒ T.untyped
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.
160 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 160 def source_with_comments(*args, &block); end |
#stage_only? ⇒ Boolean
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.
163 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 163 def stage_only?; end |
#stanza_group ⇒ Array<Symbol>?
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.
62 63 64 |
# File 'rubocops/cask/ast/stanza.rb', line 62 def stanza_group Constants::STANZA_GROUP_HASH[stanza_name] end |
#stanza_index ⇒ Integer?
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.
67 68 69 |
# File 'rubocops/cask/ast/stanza.rb', line 67 def stanza_index Constants::STANZA_ORDER.index(stanza_name) end |
#stanza_name ⇒ Symbol
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.
54 55 56 57 58 59 |
# File 'rubocops/cask/ast/stanza.rb', line 54 def stanza_name return :on_arch_conditional if arch_variable? return stanza_node.method_node&.method_name if stanza_node.block_type? T.cast(stanza_node, RuboCop::AST::SendNode).method_name end |
#suite? ⇒ Boolean
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.
166 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 166 def suite?; end |
#uninstall? ⇒ Boolean
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.
169 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 169 def uninstall?; end |
#uninstall_postflight? ⇒ Boolean
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.
172 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 172 def uninstall_postflight?; end |
#uninstall_preflight? ⇒ Boolean
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.
175 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 175 def uninstall_preflight?; end |
#url? ⇒ Boolean
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.
178 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 178 def url?; end |
#version? ⇒ Boolean
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.
181 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 181 def version?; end |
#vst3_plugin? ⇒ Boolean
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.
184 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 184 def vst3_plugin?; end |
#vst_plugin? ⇒ Boolean
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.
187 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 187 def vst_plugin?; end |
#zap? ⇒ Boolean
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.
190 |
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 190 def zap?; end |