Class: Debci::Config
- Inherits:
-
Struct
- Object
- Struct
- Debci::Config
- Defined in:
- lib/debci/config.rb
Overview
This class contains provides a Ruby interface to read debci configuration values.
Available configuration items:
-
data_basedir
: the root directory used by debci to store test run data
There is a globally accessible instance of this class accessible from the
config
method of the Debci module.
>> Debci.config.data_basedir
=> "/path/to/debci/data"
Instance Attribute Summary collapse
-
#artifacts_url_base ⇒ Object
Returns the value of attribute artifacts_url_base.
-
#config_dir ⇒ Object
Returns the value of attribute config_dir.
-
#data_basedir ⇒ Object
Returns the value of attribute data_basedir.
-
#distro_name ⇒ Object
Returns the value of attribute distro_name.
-
#html_dir ⇒ Object
Returns the value of attribute html_dir.
-
#packages_dir ⇒ Object
Returns the value of attribute packages_dir.
-
#sendmail_from ⇒ Object
Returns the value of attribute sendmail_from.
-
#sendmail_to ⇒ Object
Returns the value of attribute sendmail_to.
-
#url_base ⇒ Object
Returns the value of attribute url_base.
Instance Attribute Details
#artifacts_url_base ⇒ Object
Returns the value of attribute artifacts_url_base
16 17 18 |
# File 'lib/debci/config.rb', line 16 def artifacts_url_base @artifacts_url_base end |
#config_dir ⇒ Object
Returns the value of attribute config_dir
16 17 18 |
# File 'lib/debci/config.rb', line 16 def config_dir @config_dir end |
#data_basedir ⇒ Object
Returns the value of attribute data_basedir
16 17 18 |
# File 'lib/debci/config.rb', line 16 def data_basedir @data_basedir end |
#distro_name ⇒ Object
Returns the value of attribute distro_name
16 17 18 |
# File 'lib/debci/config.rb', line 16 def distro_name @distro_name end |
#html_dir ⇒ Object
Returns the value of attribute html_dir
16 17 18 |
# File 'lib/debci/config.rb', line 16 def html_dir @html_dir end |
#packages_dir ⇒ Object
Returns the value of attribute packages_dir
16 17 18 |
# File 'lib/debci/config.rb', line 16 def packages_dir @packages_dir end |
#sendmail_from ⇒ Object
Returns the value of attribute sendmail_from
16 17 18 |
# File 'lib/debci/config.rb', line 16 def sendmail_from @sendmail_from end |
#sendmail_to ⇒ Object
Returns the value of attribute sendmail_to
16 17 18 |
# File 'lib/debci/config.rb', line 16 def sendmail_to @sendmail_to end |
#url_base ⇒ Object
Returns the value of attribute url_base
16 17 18 |
# File 'lib/debci/config.rb', line 16 def url_base @url_base end |