Class: MaybeLater::Config
- Inherits:
-
Object
- Object
- MaybeLater::Config
- Defined in:
- lib/maybe_later/config.rb
Instance Attribute Summary collapse
-
#after_each ⇒ Object
Returns the value of attribute after_each.
-
#inline_by_default ⇒ Object
Returns the value of attribute inline_by_default.
-
#max_threads ⇒ Object
Returns the value of attribute max_threads.
-
#on_error ⇒ Object
Returns the value of attribute on_error.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
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_each ⇒ Object
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_default ⇒ Object
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_threads ⇒ Object
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_error ⇒ Object
Returns the value of attribute on_error.
3 4 5 |
# File 'lib/maybe_later/config.rb', line 3 def on_error @on_error end |