Class: RuboCop::Cask::AST::Stanza Private

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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.

Parameters:



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_commentsArray<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.

Returns:



31
32
33
# File 'rubocops/cask/ast/stanza.rb', line 31

def all_comments
  @all_comments
end

#method_nodeRuboCop::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.

Returns:



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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • args (T.untyped)
  • block (T.untyped)

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


37
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 37

def colorpicker?; end

#commentsArray<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.

Returns:

  • (Array<Parser::Source::Comment>)


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_hashHash{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.

Returns:

  • (Hash{Parser::Source::Range => Array<Parser::Source::Comment>})


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • args (T.untyped)
  • block (T.untyped)

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • args (T.untyped)
  • block (T.untyped)

Returns:

  • (T.untyped)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Parameters:

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Parameters:

  • args (T.untyped)
  • block (T.untyped)

Returns:

  • (T.untyped)


157
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 157

def source(*args, &block); end

#source_rangeParser::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.

Returns:

  • (Parser::Source::Range)


38
39
40
# File 'rubocops/cask/ast/stanza.rb', line 38

def source_range
  stanza_node.location_expression
end

#source_range_with_commentsParser::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.

Returns:

  • (Parser::Source::Range)


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.

Parameters:

  • args (T.untyped)
  • block (T.untyped)

Returns:

  • (T.untyped)


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.

Returns:

  • (Boolean)


163
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 163

def stage_only?; end

#stanza_groupArray<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.

Returns:



62
63
64
# File 'rubocops/cask/ast/stanza.rb', line 62

def stanza_group
  Constants::STANZA_GROUP_HASH[stanza_name]
end

#stanza_indexInteger?

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.

Returns:

  • (Integer, nil)


67
68
69
# File 'rubocops/cask/ast/stanza.rb', line 67

def stanza_index
  Constants::STANZA_ORDER.index(stanza_name)
end

#stanza_nameSymbol

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.

Returns:



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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


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.

Returns:

  • (Boolean)


190
# File 'sorbet/rbi/dsl/rubo_cop/cask/ast/stanza.rbi', line 190

def zap?; end