Module: Integrity::ConfigExt
- Defined in:
- lib/integrity/metrics_extensions.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
Supports the configuration of metric paths and (later) options.
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
Supports the configuration of metric paths and (later) options.
53 54 55 56 57 |
# File 'lib/integrity/metrics_extensions.rb', line 53 def self.included(base) base.class_eval { attr_reader :metrics_directory } end |
Instance Method Details
#metrics_directory=(dir) ⇒ Object
59 60 61 |
# File 'lib/integrity/metrics_extensions.rb', line 59 def metrics_directory=(dir) @metrics_directory = Pathname(dir) end |