Class: HammerCLI::Help::Note
- Inherits:
-
Text
- Object
- AbstractItem
- Text
- HammerCLI::Help::Note
- Defined in:
- lib/hammer_cli/help/definition/note.rb
Constant Summary
Constants inherited from AbstractItem
Instance Attribute Summary
Attributes inherited from AbstractItem
Instance Method Summary collapse
- #build_string ⇒ Object
-
#initialize(text, options = {}) ⇒ Note
constructor
A new instance of Note.
Methods inherited from AbstractItem
Constructor Details
#initialize(text, options = {}) ⇒ Note
Returns a new instance of Note.
4 5 6 7 |
# File 'lib/hammer_cli/help/definition/note.rb', line 4 def initialize(text, = {}) @label = [:label] || _('NOTE') super end |
Instance Method Details
#build_string ⇒ Object
9 10 11 |
# File 'lib/hammer_cli/help/definition/note.rb', line 9 def build_string @text end |