Class: Observr::Script::Rule
- Inherits:
-
Struct
- Object
- Struct
- Observr::Script::Rule
- Defined in:
- lib/observr/script.rb
Overview
Convenience type. Provides clearer and simpler access to rule properties.
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#event_type ⇒ Object
Returns the value of attribute event_type.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
23 24 25 |
# File 'lib/observr/script.rb', line 23 def action @action end |
#event_type ⇒ Object
Returns the value of attribute event_type
23 24 25 |
# File 'lib/observr/script.rb', line 23 def event_type @event_type end |
#pattern ⇒ Object
Returns the value of attribute pattern
23 24 25 |
# File 'lib/observr/script.rb', line 23 def pattern @pattern end |