module Caco::Postgres::ClassMethods

Public Instance Methods

add_shared_library(lib) click to toggle source
# File lib/caco/postgres.rb, line 4
def add_shared_library(lib)
  @libraries ||= []
  @libraries << lib
  true
end
clear_shared_library() click to toggle source
# File lib/caco/postgres.rb, line 15
def clear_shared_library
  @libraries = []
end
shared_libraries() click to toggle source
# File lib/caco/postgres.rb, line 10
def shared_libraries
  @libraries ||= []
  @libraries.join(", ")
end
should_restart!() click to toggle source
# File lib/caco/postgres.rb, line 19
def should_restart!
  @should_restart = true
end
should_restart?() click to toggle source
# File lib/caco/postgres.rb, line 23
def should_restart?
  @should_restart || false
end