Class: JavaRequirement::CaskSuggestion Private

Inherits:
Struct
  • Object
show all
Defined in:
Library/Homebrew/requirements/java_requirement.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#to_strObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


67
68
69
70
71
72
73
# File 'Library/Homebrew/requirements/java_requirement.rb', line 67

def to_str
  title_string = " #{title}" if title
  <<~EOS
    Install#{title_string} with Homebrew Cask:
      brew cask install #{token}
  EOS
end