Class: Plz::Commands::UndecodableSchemaFile
- Inherits:
-
Object
- Object
- Plz::Commands::UndecodableSchemaFile
- Defined in:
- lib/plz/commands/undecodable_schema_file.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(pathname: nil) ⇒ UndecodableSchemaFile
constructor
A new instance of UndecodableSchemaFile.
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
#call ⇒ Object
8 9 10 |
# File 'lib/plz/commands/undecodable_schema_file.rb', line 8 def call puts "Failed to decode #{@pathname}" end |