Class: R::TargetHelpTag
- Inherits:
-
TargetHelp
- Object
- Target
- C::TargetTag
- TargetHelp
- R::TargetHelpTag
- Includes:
- Singleton
- Defined in:
- lib/rub/help.rb
Instance Attribute Summary
Attributes inherited from C::TargetTag
#description, #input, #output, #tag
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize ⇒ TargetHelpTag
constructor
A new instance of TargetHelpTag.
Methods inherited from TargetHelp
#gen_help, #print_target, #print_targets
Methods inherited from C::TargetTag
Methods inherited from Target
#clean?, #description, #hash_input, #hash_output, #hash_outputs, #hash_self, #input, #output, #register
Constructor Details
#initialize ⇒ TargetHelpTag
Returns a new instance of TargetHelpTag.
114 115 116 |
# File 'lib/rub/help.rb', line 114 def initialize super 'help-tag' end |
Instance Method Details
#build ⇒ Object
118 119 120 121 122 123 |
# File 'lib/rub/help.rb', line 118 def build super puts 'Tags:' print_targets @@tag end |