Class: Runbook::Statements::Notice
- Inherits:
-
Runbook::Statement
- Object
- Node
- Runbook::Statement
- Runbook::Statements::Notice
- Defined in:
- lib/runbook/statements/notice.rb
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Attributes inherited from Runbook::Statement
Instance Method Summary collapse
-
#initialize(msg) ⇒ Notice
constructor
A new instance of Notice.
Methods inherited from Runbook::Statement
Methods included from Hooks::Invoker
#_execute_after_hooks, #_execute_around_hooks, #_execute_before_hooks, #invoke_with_hooks
Methods inherited from Node
#dynamic!, #dynamic?, #visited!, #visited?
Constructor Details
#initialize(msg) ⇒ Notice
Returns a new instance of Notice.
5 6 7 |
# File 'lib/runbook/statements/notice.rb', line 5 def initialize(msg) @msg = msg end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
3 4 5 |
# File 'lib/runbook/statements/notice.rb', line 3 def msg @msg end |