Class: Plz::Commands::UndecodableSchemaFile

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

Instance Method Summary collapse

Constructor Details

#initialize(pathname: nil) ⇒ UndecodableSchemaFile

Returns a new instance of UndecodableSchemaFile.



4
5
6
# File 'lib/plz/commands/undecodable_schema_file.rb', line 4

def initialize(pathname: nil)
  @pathname = pathname
end

Instance Method Details

#callObject



8
9
10
# File 'lib/plz/commands/undecodable_schema_file.rb', line 8

def call
  puts "Failed to decode #{@pathname}"
end