Class: Archsight::Configuration
- Inherits:
-
Object
- Object
- Archsight::Configuration
- Defined in:
- lib/archsight/configuration.rb
Instance Attribute Summary collapse
-
#compute_annotations ⇒ Object
Returns the value of attribute compute_annotations.
-
#resources_dir ⇒ Object
Returns the value of attribute resources_dir.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
-
#verify ⇒ Object
Returns the value of attribute verify.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 |
# File 'lib/archsight/configuration.rb', line 7 def initialize @resources_dir = ENV["ARCHSIGHT_RESOURCES_DIR"] || Dir.pwd @verbose = true @verify = true @compute_annotations = true end |
Instance Attribute Details
#compute_annotations ⇒ Object
Returns the value of attribute compute_annotations.
5 6 7 |
# File 'lib/archsight/configuration.rb', line 5 def compute_annotations @compute_annotations end |
#resources_dir ⇒ Object
Returns the value of attribute resources_dir.
5 6 7 |
# File 'lib/archsight/configuration.rb', line 5 def resources_dir @resources_dir end |
#verbose ⇒ Object
Returns the value of attribute verbose.
5 6 7 |
# File 'lib/archsight/configuration.rb', line 5 def verbose @verbose end |
#verify ⇒ Object
Returns the value of attribute verify.
5 6 7 |
# File 'lib/archsight/configuration.rb', line 5 def verify @verify end |