Class: Lotus::Commands::DB::Console
- Defined in:
- lib/lotus/commands/db/console.rb
Overview
Instance Attribute Summary collapse
- #env_options ⇒ Object readonly
- #name ⇒ Object readonly
Attributes inherited from Abstract
Instance Method Summary collapse
-
#initialize(options, name) ⇒ Console
constructor
A new instance of Console.
- #start ⇒ Object
Constructor Details
#initialize(options, name) ⇒ Console
Returns a new instance of Console.
10 11 12 13 14 |
# File 'lib/lotus/commands/db/console.rb', line 10 def initialize(, name) super() @name = name @env_options = environment. end |
Instance Attribute Details
#env_options ⇒ Object (readonly)
8 9 10 |
# File 'lib/lotus/commands/db/console.rb', line 8 def @env_options end |
#name ⇒ Object (readonly)
8 9 10 |
# File 'lib/lotus/commands/db/console.rb', line 8 def name @name end |
Instance Method Details
#start ⇒ Object
16 17 18 |
# File 'lib/lotus/commands/db/console.rb', line 16 def start exec connection_string end |