Class: WFlow::Configuration
- Inherits:
-
Object
- Object
- WFlow::Configuration
- Defined in:
- lib/w_flow/configuration.rb
Instance Attribute Summary collapse
-
#supress_errors ⇒ Object
readonly
Returns the value of attribute supress_errors.
Class Method Summary collapse
- .config {|configuration| ... } ⇒ Object
- .configuration ⇒ Object
- .reset_configuration ⇒ Object
- .supress_errors? ⇒ Boolean
Instance Attribute Details
#supress_errors ⇒ Object (readonly)
Returns the value of attribute supress_errors.
4 5 6 |
# File 'lib/w_flow/configuration.rb', line 4 def supress_errors @supress_errors end |
Class Method Details
.config {|configuration| ... } ⇒ Object
7 8 9 |
# File 'lib/w_flow/configuration.rb', line 7 def config yield configuration end |
.configuration ⇒ Object
15 16 17 |
# File 'lib/w_flow/configuration.rb', line 15 def configuration @configuration ||= new end |
.reset_configuration ⇒ Object
19 20 21 |
# File 'lib/w_flow/configuration.rb', line 19 def reset_configuration @configuration = new end |
.supress_errors? ⇒ Boolean
11 12 13 |
# File 'lib/w_flow/configuration.rb', line 11 def supress_errors? configuration.supress_errors end |