Class: Plz::Commands::BaseUrlNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/plz/commands/base_url_not_found.rb

Instance Method Summary collapse

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

#callObject



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