Exception: Yoker::NotRailsAppError
- Defined in:
- lib/yoker/errors.rb
Overview
Raised when not in a Rails application directory
Instance Method Summary collapse
-
#initialize(path = Dir.pwd) ⇒ NotRailsAppError
constructor
A new instance of NotRailsAppError.
Constructor Details
#initialize(path = Dir.pwd) ⇒ NotRailsAppError
Returns a new instance of NotRailsAppError.
9 10 11 |
# File 'lib/yoker/errors.rb', line 9 def initialize(path = Dir.pwd) super("Directory '#{path}' is not a Rails application. Please run from Rails app root.") end |