cookbooks/smf/libraries/xml_builder.rb
## methods that need to be called from within the context
#  of the Nokogiri builder block need to be protected, rather
#  than private.
methods that need to be called from within the context
of the Nokogiri builder block need to be protected, rather
than private.
methods that need to be called from within the context of the Nokogiri builder block need to be protected rather than private .
def commands
      @commands ||= {
          'start' => resource.start_command,
          'stop' => resource.stop_command,
          'restart' => resource.restart_command,
          'refresh' => resource.refresh_command
      }
    end
def commands @commands ||= { 'start' => resource . start_command , 'stop' => resource . stop_command , 'restart' => resource . restart_command , 'refresh' => resource . refresh_command } end
methods that need to be called from within the context
of the Nokogiri builder block need to be protected, rather
than private.
methods that need to be called from within the context of the Nokogiri builder block need to be protected rather than private .