Module: Rodish::Plugins::CacheHelpOutput::CommandMethods
- Defined in:
- lib/rodish/plugins/cache_help_output.rb
Instance Method Summary collapse
-
#freeze ⇒ Object
Cache and help output when freezing the command.
-
#help ⇒ Object
Return cached help if it is present.
Instance Method Details
#freeze ⇒ Object
Cache and help output when freezing the command.
14 15 16 17 |
# File 'lib/rodish/plugins/cache_help_output.rb', line 14 def freeze @help = help.freeze super end |
#help ⇒ Object
Return cached help if it is present.
20 21 22 |
# File 'lib/rodish/plugins/cache_help_output.rb', line 20 def help @help || super end |