class Plz::Commands::LinkNotFound
Public Class Methods
new(pathname: nil, action_name: nil, target_name: nil)
click to toggle source
# File lib/plz/commands/link_not_found.rb, line 4 def initialize(pathname: nil, action_name: nil, target_name: nil) @pathname = pathname @action_name = action_name @target_name = target_name end
Public Instance Methods
call()
click to toggle source
# File lib/plz/commands/link_not_found.rb, line 10 def call puts "#{@pathname} has no definition for `#{@action_name} #{@target_name}`" end