Class: Plz::Commands::BaseUrlNotFound
- Inherits:
-
Object
- Object
- Plz::Commands::BaseUrlNotFound
- Defined in:
- lib/plz/commands/base_url_not_found.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(pathname: nil) ⇒ BaseUrlNotFound
constructor
A new instance of BaseUrlNotFound.
Constructor Details
#initialize(pathname: nil) ⇒ BaseUrlNotFound
Returns a new instance of BaseUrlNotFound.
4 5 6 |
# File 'lib/plz/commands/base_url_not_found.rb', line 4 def initialize(pathname: nil) @pathname = pathname end |
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/plz/commands/base_url_not_found.rb', line 8 def call puts "#{@pathname} has no base URL at top-level links property" end |