Class: Plz::Commands::InvalidSchema
- Inherits:
-
Object
- Object
- Plz::Commands::InvalidSchema
- Defined in:
- lib/plz/commands/invalid_schema.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(pathname: nil, error: nil) ⇒ InvalidSchema
constructor
A new instance of InvalidSchema.
Constructor Details
#initialize(pathname: nil, error: nil) ⇒ InvalidSchema
Returns a new instance of InvalidSchema.
4 5 6 7 |
# File 'lib/plz/commands/invalid_schema.rb', line 4 def initialize(pathname: nil, error: nil) @pathname = pathname @error = error end |
Instance Method Details
#call ⇒ Object
9 10 11 |
# File 'lib/plz/commands/invalid_schema.rb', line 9 def call puts "#{@pathname} was invalid:#{}" end |