class Berkshelf::LicenseNotFound

Attributes

license[R]

Public Class Methods

new(license) click to toggle source
# File lib/berkshelf/errors.rb, line 371
def initialize(license)
  @license = license
end

Public Instance Methods

message()
Alias for: to_s
to_s() click to toggle source
# File lib/berkshelf/errors.rb, line 375
def to_s
  "Unknown license: '#{license}'\n" +
    "Available licenses: #{CookbookGenerator::LICENSES.join(", ")}"
end
Also aliased as: message