From e647f70cbde1735af0710d07fc704448f5a8dcd8 Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Wed, 1 Jun 2011 14:15:33 -0700 Subject: maint: remove obsolete work-around code from help face. The application wrapper for help used to disable the inherited 'render' method from FaceBase - specifically, to avoid the behaviour of rendering strings poorly. Now that we have support for good output in the upstream method, this is unnecessary, so we can eliminate the stub method entirely and use the default behaviour. (This also enables rendering the help into JSON or YAML, against the odds that someone actually cares about that. ;) --- lib/puppet/application/help.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/puppet/application/help.rb b/lib/puppet/application/help.rb index 4829a2036..66baa462e 100644 --- a/lib/puppet/application/help.rb +++ b/lib/puppet/application/help.rb @@ -1,7 +1,4 @@ require 'puppet/application/face_base' class Puppet::Application::Help < Puppet::Application::FaceBase - # Meh. Disable the default behaviour, which is to inspect the - # string and return that – not so helpful. --daniel 2011-04-11 - def render(result) result end end -- cgit