Class: GitSpec::Configuration
- Inherits:
-
Object
- Object
- GitSpec::Configuration
- Defined in:
- lib/git_spec/configuration.rb
Instance Attribute Summary collapse
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#src_root ⇒ Object
Returns the value of attribute src_root.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/git_spec/configuration.rb', line 6 def initialize @src_root = 'lib/' @log_level = ::Logger::INFO end |
Instance Attribute Details
#log_level ⇒ Object
Returns the value of attribute log_level.
3 4 5 |
# File 'lib/git_spec/configuration.rb', line 3 def log_level @log_level end |
#src_root ⇒ Object
Returns the value of attribute src_root.
3 4 5 |
# File 'lib/git_spec/configuration.rb', line 3 def src_root @src_root end |