Class: Homebrew::DevCmd::BumpFormulaPr::PreparedBump Private

Inherits:
T::Struct
  • Object
show all
Defined in:
dev-cmd/bump-formula-pr.rb

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourcefile_path:, old_contents:, commit_message:, additional_files: nil, formula_pr_message:, formula_name:, new_version:) ⇒ void

Parameters:



# File ''

const :sourcefile_path, Pathname
const :old_contents, String
const :commit_message, String
const :additional_files, T.nilable(T::Array[Pathname])
const :formula_pr_message, String
const :formula_name, String
const :new_version, Version

Instance Attribute Details

#additional_files ⇒ Array<Pathname>? (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 the value of prop additional_files.

Returns:



# File ''

const :additional_files, T.nilable(T::Array[Pathname])

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

Returns the value of prop commit_message.

Returns:



# File ''

const :commit_message, String

#formula_name ⇒ 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 the value of prop formula_name.

Returns:



# File ''

const :formula_name, String

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

Returns the value of prop formula_pr_message.

Returns:



# File ''

const :formula_pr_message, String

#new_version ⇒ Version (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 the value of prop new_version.

Returns:



# File ''

const :new_version, Version

#old_contents ⇒ 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 the value of prop old_contents.

Returns:



# File ''

const :old_contents, String

#sourcefile_path ⇒ Pathname (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 the value of prop sourcefile_path.

Returns:



# File ''

const :sourcefile_path, Pathname