Class: Stable::Configuration
- Inherits:
-
Object
- Object
- Stable::Configuration
- Defined in:
- lib/stable/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#fact_paths ⇒ Object
Returns the value of attribute fact_paths.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#storage_path ⇒ Object
Returns the value of attribute storage_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 |
# File 'lib/stable/configuration.rb', line 8 def initialize @storage_path = nil @enabled = false @fact_paths = ['facts/**/*.fact'] @formatter = Stable::Formatters::Verbose end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/stable/configuration.rb', line 6 def enabled @enabled end |
#fact_paths ⇒ Object
Returns the value of attribute fact_paths.
6 7 8 |
# File 'lib/stable/configuration.rb', line 6 def fact_paths @fact_paths end |
#formatter ⇒ Object
Returns the value of attribute formatter.
6 7 8 |
# File 'lib/stable/configuration.rb', line 6 def formatter @formatter end |
#storage_path ⇒ Object
Returns the value of attribute storage_path.
6 7 8 |
# File 'lib/stable/configuration.rb', line 6 def storage_path @storage_path end |