Module: Autobump::DSL Private

Included in:
Cask::DSL, Formula
Defined in:
autobump/dsl.rb

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.

Common implementation of the formula and cask autobump exclusion stanza.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#no_autobump_message ⇒ 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.

The reason for a DSL exclusion, if any.

Returns:



11
12
13
# File 'autobump/dsl.rb', line 11

def no_autobump_message
  @no_autobump_message
end

Instance Method Details

#autobump? ⇒ 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)


14
# File 'autobump/dsl.rb', line 14

def autobump? = no_autobump_message.nil?