Method: Jets::Commands::Markdown::Page#usage
- Defined in:
- lib/jets/commands/markdown/page.rb
#usage ⇒ Object
12 13 14 15 16 |
# File 'lib/jets/commands/markdown/page.rb', line 12 def usage = @cli_class.send(:banner, @command) # banner is protected method invoking_command = File.basename($0) # could be rspec, etc .sub(invoking_command, cli_name) end |