Class: Sicily::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/sicily/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_startObject

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_monitoringObject

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_subfolderObject

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_poolObject

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