Class: Detektiiv::Configuration
- Inherits:
-
Object
- Object
- Detektiiv::Configuration
- Defined in:
- lib/detektiiv/configuration.rb
Instance Attribute Summary collapse
-
#application_name ⇒ Object
Returns the value of attribute application_name.
-
#logfile_path ⇒ Object
Returns the value of attribute logfile_path.
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 |
# File 'lib/detektiiv/configuration.rb', line 7 def initialize @application_name = '' @logfile_path = '/tmp/detektiiv.log' end |
Instance Attribute Details
#application_name ⇒ Object
Returns the value of attribute application_name.
5 6 7 |
# File 'lib/detektiiv/configuration.rb', line 5 def application_name @application_name end |
#logfile_path ⇒ Object
Returns the value of attribute logfile_path.
5 6 7 |
# File 'lib/detektiiv/configuration.rb', line 5 def logfile_path @logfile_path end |