Class: BulletmarkRepairer::Configuration
- Inherits:
-
Object
- Object
- BulletmarkRepairer::Configuration
- Defined in:
- lib/bulletmark_repairer/configuration.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
writeonly
Sets the attribute debug.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#skip_file_list ⇒ Object
Returns the value of attribute skip_file_list.
Instance Method Summary collapse
- #debug? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 |
# File 'lib/bulletmark_repairer/configuration.rb', line 8 def initialize @debug = false @skip_file_list = [] @logger = Logger.new("#{Rails.root}/log/bulletmark_repairer.log") end |
Instance Attribute Details
#debug=(value) ⇒ Object (writeonly)
Sets the attribute debug
6 7 8 |
# File 'lib/bulletmark_repairer/configuration.rb', line 6 def debug=(value) @debug = value end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/bulletmark_repairer/configuration.rb', line 5 def logger @logger end |
#skip_file_list ⇒ Object
Returns the value of attribute skip_file_list.
5 6 7 |
# File 'lib/bulletmark_repairer/configuration.rb', line 5 def skip_file_list @skip_file_list end |
Instance Method Details
#debug? ⇒ Boolean
14 15 16 |
# File 'lib/bulletmark_repairer/configuration.rb', line 14 def debug? @debug end |