Module: Elefant

Defined in:
lib/elefant.rb,
lib/elefant/web.rb,
lib/elefant/stats.rb,
lib/elefant/version.rb,
lib/elefant/connection_adapter.rb,
lib/elefant/postgres/size_queries.rb

Defined Under Namespace

Modules: Postgres Classes: Configuration, ConnectionAdapter, Stats, Web

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configurationObject



6
7
8
# File 'lib/elefant.rb', line 6

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



10
11
12
13
# File 'lib/elefant.rb', line 10

def self.configure
  configuration = self.configuration
  yield(configuration)
end