Class: Lotus::Commands::DB::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/lotus/commands/db/abstract.rb

Overview

Since:

  • 0.1.0

Direct Known Subclasses

Apply, Console, Create, Drop, Migrate, Prepare, Version

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Abstract

Returns a new instance of Abstract.

Since:

  • 0.1.0



7
8
9
10
11
# File 'lib/lotus/commands/db/abstract.rb', line 7

def initialize(options)
  @options = options
  @environment = Lotus::Environment.new(options)
  @environment.require_application_environment
end

Instance Attribute Details

#environmentObject (readonly)

Since:

  • 0.1.0



5
6
7
# File 'lib/lotus/commands/db/abstract.rb', line 5

def environment
  @environment
end

Instance Method Details

#startObject

Raises:

  • (NotImplementedError)

Since:

  • 0.1.0



13
14
15
# File 'lib/lotus/commands/db/abstract.rb', line 13

def start
  raise NotImplementedError
end