module Rodish::Plugins::HelpExamples::DSLMethods

  1. lib/rodish/plugins/help_examples.rb

Methods

Public Instance

  1. help_example

Public Instance methods

help_example(example)

Add an example to show in the help output for the command.

[show source]
   # File lib/rodish/plugins/help_examples.rb
13 def help_example(example)
14   (@command.help_examples ||= []) << example
15 end