Class: Sicily::Config
- Inherits:
-
Object
- Object
- Sicily::Config
- Defined in:
- lib/sicily/config.rb
Instance Attribute Summary collapse
-
#consume_on_start ⇒ Object
Returns the value of attribute consume_on_start.
-
#delay_on_file_monitoring ⇒ Object
Returns the value of attribute delay_on_file_monitoring.
-
#forbid_new_file_in_subfolder ⇒ Object
Returns the value of attribute forbid_new_file_in_subfolder.
-
#num_thread_pool ⇒ Object
Returns the value of attribute num_thread_pool.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
14 15 16 17 18 19 |
# File 'lib/sicily/config.rb', line 14 def initialize @forbid_new_file_in_subfolder = true @num_thread_pool = 10 @delay_on_file_monitoring = 10 @consume_on_start = true end |
Instance Attribute Details
#consume_on_start ⇒ Object
Returns the value of attribute consume_on_start.
9 10 11 |
# File 'lib/sicily/config.rb', line 9 def consume_on_start @consume_on_start end |
#delay_on_file_monitoring ⇒ Object
Returns the value of attribute delay_on_file_monitoring.
9 10 11 |
# File 'lib/sicily/config.rb', line 9 def delay_on_file_monitoring @delay_on_file_monitoring end |
#forbid_new_file_in_subfolder ⇒ Object
Returns the value of attribute forbid_new_file_in_subfolder.
9 10 11 |
# File 'lib/sicily/config.rb', line 9 def forbid_new_file_in_subfolder @forbid_new_file_in_subfolder end |
#num_thread_pool ⇒ Object
Returns the value of attribute num_thread_pool.
9 10 11 |
# File 'lib/sicily/config.rb', line 9 def num_thread_pool @num_thread_pool end |