Class: MaybeLater::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



5
6
7
8
9
10
# File 'lib/maybe_later/config.rb', line 5

def initialize
  @after_each = nil
  @on_error = nil
  @inline_by_default = false
  @max_threads = 5
end

Instance Attribute Details

#after_eachObject

Returns the value of attribute after_each.



3
4
5
# File 'lib/maybe_later/config.rb', line 3

def after_each
  @after_each
end

#inline_by_defaultObject

Returns the value of attribute inline_by_default.



3
4
5
# File 'lib/maybe_later/config.rb', line 3

def inline_by_default
  @inline_by_default
end

#max_threadsObject

Returns the value of attribute max_threads.



3
4
5
# File 'lib/maybe_later/config.rb', line 3

def max_threads
  @max_threads
end

#on_errorObject

Returns the value of attribute on_error.



3
4
5
# File 'lib/maybe_later/config.rb', line 3

def on_error
  @on_error
end