Class: ErrorBuilder::Configuration
- Inherits:
-
Object
- Object
- ErrorBuilder::Configuration
- Defined in:
- lib/error_builder/configuration.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#message_format ⇒ Object
Returns the value of attribute message_format.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/error_builder/configuration.rb', line 7 def initialize @format = :hash @message_format = :array end |
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/error_builder/configuration.rb', line 5 def format @format end |
#message_format ⇒ Object
Returns the value of attribute message_format.
5 6 7 |
# File 'lib/error_builder/configuration.rb', line 5 def @message_format end |