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
Instance Attribute Details
#application_name ⇒ Object
Returns the value of attribute application_name.
3 4 5 |
# File 'lib/detektiiv/configuration.rb', line 3 def application_name @application_name end |
#logfile_path ⇒ Object
Returns the value of attribute logfile_path.
3 4 5 |
# File 'lib/detektiiv/configuration.rb', line 3 def logfile_path @logfile_path end |
Instance Method Details
#initializer ⇒ Object
5 6 7 8 |
# File 'lib/detektiiv/configuration.rb', line 5 def initializer @application_name = ::Rails.application.class.name.split('::').first.underscore @logfile_path = '/tmp/detektiiv.log' end |