Class: ChattyError::Configuration
- Inherits:
-
Object
- Object
- ChattyError::Configuration
- Defined in:
- lib/chatty_error/configuration.rb
Instance Attribute Summary collapse
-
#default_message ⇒ Object
Returns the value of attribute default_message.
-
#default_scope ⇒ Object
Returns the value of attribute default_scope.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/chatty_error/configuration.rb', line 8 def initialize @default_scope = 'chatty_errors' @default_message = '' end |
Instance Attribute Details
#default_message ⇒ Object
Returns the value of attribute default_message.
6 7 8 |
# File 'lib/chatty_error/configuration.rb', line 6 def @default_message end |
#default_scope ⇒ Object
Returns the value of attribute default_scope.
6 7 8 |
# File 'lib/chatty_error/configuration.rb', line 6 def default_scope @default_scope end |