Class: Islo::Postgres::Init

Inherits:
Command
  • Object
show all
Defined in:
lib/islo/commands/postgres.rb

Overview

PostgreSQL initializer

Instance Attribute Summary

Attributes inherited from Command

#command, #title, #wd

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Command

#exec, #initialize, #title?

Constructor Details

This class inherits a constructor from Islo::Command

Class Method Details

.nameObject



37
38
39
# File 'lib/islo/commands/postgres.rb', line 37

def self.name
  :initdb
end

Instance Method Details

#argsObject



41
42
43
44
45
# File 'lib/islo/commands/postgres.rb', line 41

def args
  %W(
    -D #{wd}/db/postgres
  ) + super
end