Class: JavaRequirement::CaskSuggestion

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

Instance Method Summary collapse

Instance Method Details

#to_strObject



63
64
65
66
67
68
69
# File 'brew/Library/Homebrew/requirements/java_requirement.rb', line 63

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