Top Level Namespace

Defined Under Namespace

Modules: PG Classes: BuildRecipe

Constant Summary collapse

OPENSSL_VERSION =
ENV['OPENSSL_VERSION'] || '3.5.2'
OPENSSL_SOURCE_URI =
"http://www.openssl.org/source/openssl-#{OPENSSL_VERSION}.tar.gz"
KRB5_VERSION =
ENV['KRB5_VERSION'] || '1.22.1'
KRB5_SOURCE_URI =
"http://kerberos.org/dist/krb5/#{KRB5_VERSION[/^(\d+\.\d+)/]}/krb5-#{KRB5_VERSION}.tar.gz"
POSTGRESQL_VERSION =
ENV['POSTGRESQL_VERSION'] || '17.6'
POSTGRESQL_SOURCE_URI =
"http://ftp.postgresql.org/pub/source/v#{POSTGRESQL_VERSION}/postgresql-#{POSTGRESQL_VERSION}.tar.bz2"

Instance Method Summary collapse

Instance Method Details

#camelize(lower_case_and_underscored_word) ⇒ Object

-*- ruby -*-



3
4
5
# File 'ext/errorcodes.rb', line 3

def camelize(lower_case_and_underscored_word)
	lower_case_and_underscored_word.to_s.gsub(/\/(.?)/) { "::" + $1.upcase }.gsub(/(^|_)(.)/) { $2.upcase }
end