Exception: Gel::Error::NoGemfile

Inherits:
UserError
  • Object
show all
Defined in:
lib/gel/error.rb

Instance Method Summary collapse

Methods inherited from UserError

#[], #inner_backtrace

Methods included from ReportableError

#details, #exit_code

Constructor Details

#initialize(path:) ⇒ NoGemfile

Returns a new instance of NoGemfile.



156
157
158
# File 'lib/gel/error.rb', line 156

def initialize(path:)
  super
end

Instance Method Details

#messageObject



160
161
162
# File 'lib/gel/error.rb', line 160

def message
  "No Gemfile found in #{self[:path].inspect}"
end