Class: Stable::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/stable/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#enabledObject

Returns the value of attribute enabled.



6
7
8
# File 'lib/stable/configuration.rb', line 6

def enabled
  @enabled
end

#fact_pathsObject

Returns the value of attribute fact_paths.



6
7
8
# File 'lib/stable/configuration.rb', line 6

def fact_paths
  @fact_paths
end

#formatterObject

Returns the value of attribute formatter.



6
7
8
# File 'lib/stable/configuration.rb', line 6

def formatter
  @formatter
end

#storage_pathObject

Returns the value of attribute storage_path.



6
7
8
# File 'lib/stable/configuration.rb', line 6

def storage_path
  @storage_path
end