Class: WhatTheGem::Help
Constant Summary collapse
- TEMPLATE =
Template.parse(<<~HELP) `whatthegem` is a small tool for fetching information about Ruby gems from various sources. **Usage:** `whatthegem <gemname> [<command>]` Known commands: {% for command in commands %} * `{{command.handle}}`: {{command.description}}{% endfor %} HELP
Constants inherited from Command
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize ⇒ Help
constructor
A new instance of Help.
- #locals ⇒ Object
Methods inherited from Command
call, #call, get, #meta, register
Constructor Details
#initialize ⇒ Help
Returns a new instance of Help.
14 15 |
# File 'lib/whatthegem/help.rb', line 14 def initialize(*) end |
Instance Method Details
#locals ⇒ Object
17 18 19 |
# File 'lib/whatthegem/help.rb', line 17 def locals {commands: commands} end |