-
rubygem-loquacious-1.9.1-1.lbn25.noarch
Descriptive configuration files for Ruby written in Ruby.
Loquacious provides a very open configuration system written in ruby and
descriptions for each configuration attribute. The attributes and descriptions
can be iterated over allowing for helpful information about those attributes
to
be displayed to the user.
In the simple case we have a file something like
Loquacious.configuration_for('app') {
name 'value', :desc => "Defines the name"
foo 'bar', :desc => "FooBar"
id 42, :desc => "Ara T. Howard"
}
Which can be loaded via the standard Ruby loading mechanisms
Kernel.load 'config/app.rb'
The attributes and their descriptions can be printed by using a Help object
help = Loquacious.help_for('app')
help.show :values => true # show the values for the attributes, too
Descriptions are optional, and configurations can be nested arbitrarily deep.
Loquacious.configuration_for('nested') {
desc "The outermost level"
a {
desc "One more level in"
b {
desc "Finally, a real value"
c 'value'
}
}
}
config = Loquacious.configuration_for('nested')
p config.a.b.c #=> "value"
And as you can see, descriptions can either be given inline after the value or
they can appear above the attribute and value on their own line.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-lumberjack-1.0.13-1.lbn25.noarch
A simple, powerful, and very fast logging utility that can be a drop in
replacement for Logger or ActiveSupport::BufferedLogger. Provides support for
automatically rolling log files even with multiple processes writing the same
log file.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-lxc-extra-0.0.3-1.lbn25.noarch
Additional helper methods for ruby lxc binding.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-macaddr-1.7.1-1.lbn25.noarch
cross platform mac address determination for ruby.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-mail-2.6.4-1.lbn25.noarch
A really Ruby Mail handler.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-mailfactory-1.4.0-1.lbn25.noarch
MailFactory is s simple module for producing RFC compliant mail that can
include multiple attachments, multiple body parts, and arbitrary headers.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-march_hare-2.7.0-1.lbn25.noarch
RabbitMQ client for JRuby built around the official RabbitMQ Java client.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-markaby-0.8.0-1.lbn25.noarch
_why's markaby templating language.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-maruku-0.7.3-1.lbn25.noarch
Maruku is a Markdown interpreter in Ruby.
It features native export to HTML and PDF (via Latex). The
output is really beautiful!
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25
-
rubygem-memoizable-0.4.2-1.lbn25.noarch
Memoize method return values.
Located in
LBN
/
…
/
Cloud Computing
/
BastionLinux 25