Class: R::TargetHelpHelp
- Inherits:
-
TargetHelp
- Object
- Target
- C::TargetTag
- TargetHelp
- R::TargetHelpHelp
- 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 ⇒ TargetHelpHelp
constructor
A new instance of TargetHelpHelp.
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 ⇒ TargetHelpHelp
Returns a new instance of TargetHelpHelp.
91 92 93 |
# File 'lib/rub/help.rb', line 91 def initialize super :help end |
Instance Method Details
#build ⇒ Object
95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/rub/help.rb', line 95 def build super puts <<'EOS' Help: Just displaying tags. If you want to see more see: :help-tag :help-installed :help-built :help-all EOS R.get_target('help-tag'.to_sym).build end |