Class: Xeno::AgentDefinition::Diagnostic
- Inherits:
-
Struct
- Object
- Struct
- Xeno::AgentDefinition::Diagnostic
- Defined in:
- lib/xeno/agent_definition.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level
10 11 12 |
# File 'lib/xeno/agent_definition.rb', line 10 def level @level end |
#message ⇒ Object
Returns the value of attribute message
10 11 12 |
# File 'lib/xeno/agent_definition.rb', line 10 def @message end |
Instance Method Details
#error? ⇒ Boolean
11 |
# File 'lib/xeno/agent_definition.rb', line 11 def error? = level == :error |