Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
# -*- coding: raw-text-unix -*- # Usage: include this file in Ruby scripts: # require "edrxinit.rb" # (find-angg ".ruby/edrxinit.rb") # This file: (find-angg ".ruby/edrxinit.rb") # Inspired by: (find-angg "LUA/lua50init.lua") # Requires: (find-angg ".zshrc" "ruby") # See also: (find-es "ruby" "LOAD_PATH") # (find-man "1 ruby" "RUBYLIB") # (find-man "1 irb") # (find-angg ".irbrc") # (find-rubymanualw3m "ENV.html") # (find-postgresprfile "lib/") # (find-es "ruby") $LOAD_PATH.unshift(ENV['HOME'] + '/usrc/postgres-pr-0.4.0/d/lib') # (find-es "ruby") # (find-es "ruby" "edrxinit:postgres-pr") def edrxdbconnect() require 'postgres-pr/connection' return PostgresPR::Connection.new('edrxdb', 'edrx', nil, ENV['PGSOCKET']) end # (find-angg ".lua50/") # (find-angg "LUA/")