class Berkshelf::BerksfileNotFound

Public Class Methods

new(filepath) click to toggle source

@param [#to_s] filepath

the path where a Berksfile was not found
# File lib/berkshelf/errors.rb, line 25
def initialize(filepath)
  @filepath = File.dirname(File.expand_path(filepath)) rescue filepath
end

Public Instance Methods

message()
Alias for: to_s
to_s() click to toggle source
# File lib/berkshelf/errors.rb, line 29
def to_s
  "No Berksfile or Berksfile.lock found at '#{@filepath}'!"
end
Also aliased as: message