module Rodish::Plugins::CacheHelpOutput::CommandMethods

  1. lib/rodish/plugins/cache_help_output.rb

Methods

Public Instance

  1. freeze
  2. help

Public Instance methods

freeze()

Cache and help output when freezing the command.

[show source]
   # File lib/rodish/plugins/cache_help_output.rb
14 def freeze
15   @help = help.freeze
16   super
17 end
help()

Return cached help if it is present.

[show source]
   # File lib/rodish/plugins/cache_help_output.rb
20 def help
21   @help || super
22 end