Module: Parity
- Defined in:
- lib/parity/usage.rb,
lib/parity/backup.rb,
lib/parity/environment.rb,
lib/parity/configuration.rb
Defined Under Namespace
Classes: Backup, Configuration, Environment, Usage
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
15 16 17 |
# File 'lib/parity/configuration.rb', line 15 def config @config end |
Class Method Details
.configure ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/parity/configuration.rb', line 18 def self.configure self.config ||= Configuration.new if block_given? yield config end end |