Exception: Tina4::LogArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Tina4::LogArgumentError
- Defined in:
- lib/tina4/log.rb
Overview
Invalid argument to a public logger method.
Instance Attribute Summary collapse
-
#accepted ⇒ Object
Returns the value of attribute accepted.
-
#argument ⇒ Object
Returns the value of attribute argument.
Instance Method Summary collapse
-
#initialize(message, argument: nil, accepted: nil) ⇒ LogArgumentError
constructor
A new instance of LogArgumentError.
Constructor Details
#initialize(message, argument: nil, accepted: nil) ⇒ LogArgumentError
Returns a new instance of LogArgumentError.
26 27 28 29 30 |
# File 'lib/tina4/log.rb', line 26 def initialize(, argument: nil, accepted: nil) super() @argument = argument @accepted = accepted end |
Instance Attribute Details
#accepted ⇒ Object
Returns the value of attribute accepted.
24 25 26 |
# File 'lib/tina4/log.rb', line 24 def accepted @accepted end |
#argument ⇒ Object
Returns the value of attribute argument.
24 25 26 |
# File 'lib/tina4/log.rb', line 24 def argument @argument end |