Class: Hanami::CLI::Commands::App::DB::Utils::Sqlite::Failure Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/hanami/cli/commands/app/db/utils/sqlite.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 2.2.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errObject

Returns the value of attribute err

Returns:

  • (Object)

    the current value of err



16
17
18
# File 'lib/hanami/cli/commands/app/db/utils/sqlite.rb', line 16

def err
  @err
end

Instance Method Details

#exit_codeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.2.0



21
22
23
# File 'lib/hanami/cli/commands/app/db/utils/sqlite.rb', line 21

def exit_code
  1
end

#successful?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 2.2.0



17
18
19
# File 'lib/hanami/cli/commands/app/db/utils/sqlite.rb', line 17

def successful?
  false
end