Class: SprocketsDerailleur::Configuration
- Inherits:
-
Object
- Object
- SprocketsDerailleur::Configuration
- Defined in:
- lib/sprockets-derailleur/configuration.rb
Instance Attribute Summary collapse
-
#compile_times_to_info_log ⇒ Object
Returns the value of attribute compile_times_to_info_log.
-
#file_lock_timeout ⇒ Object
Returns the value of attribute file_lock_timeout.
-
#use_sprockets_derailleur_file_store ⇒ Object
Returns the value of attribute use_sprockets_derailleur_file_store.
-
#worker_count ⇒ Object
Returns the value of attribute worker_count.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 |
# File 'lib/sprockets-derailleur/configuration.rb', line 5 def initialize @file_lock_timeout = 10 @compile_times_to_info_log = false @worker_count = nil @use_sprockets_derailleur_file_store = false end |
Instance Attribute Details
#compile_times_to_info_log ⇒ Object
Returns the value of attribute compile_times_to_info_log.
3 4 5 |
# File 'lib/sprockets-derailleur/configuration.rb', line 3 def compile_times_to_info_log @compile_times_to_info_log end |
#file_lock_timeout ⇒ Object
Returns the value of attribute file_lock_timeout.
3 4 5 |
# File 'lib/sprockets-derailleur/configuration.rb', line 3 def file_lock_timeout @file_lock_timeout end |
#use_sprockets_derailleur_file_store ⇒ Object
Returns the value of attribute use_sprockets_derailleur_file_store.
3 4 5 |
# File 'lib/sprockets-derailleur/configuration.rb', line 3 def use_sprockets_derailleur_file_store @use_sprockets_derailleur_file_store end |
#worker_count ⇒ Object
Returns the value of attribute worker_count.
3 4 5 |
# File 'lib/sprockets-derailleur/configuration.rb', line 3 def worker_count @worker_count end |