lib/guard/yard/yard_command.rb
def _parts(options)
        parts = %w(rm -rf .yardoc)
        parts << '&& bundle exec'
        if options[:cmd] == 'yard'
          parts << options[:cmd]
          parts << options[:path]
          (parts << "--#{options[:flags].join(' --')}") if options[:flags]
        else
          parts << options[:cmd]
        end
        additional_options(parts, options)
      end
# Returns a StringArray of command parts
# @return [StringArray]
Returns a StringArray of command parts
Returns a StringArray of command parts
def _parts(options)
        parts = %w(rm -rf .yardoc)
        parts << '&& bundle exec'
        if options[:cmd] == 'yard'
          parts << options[:cmd]
          parts << options[:path]
          (parts << "--#{options[:flags].join(' --')}") if options[:flags]
        else
          parts << options[:cmd]
        end
        additional_options(parts, options)
      end
def _parts ( options ) parts = %w( rm -rf .yardoc ) parts << '&& bundle exec' if options [ :cmd ] == 'yard' parts << options [ :cmd ] parts << options [ :path ] ( parts << "--#{options[:flags].join(' --')}" ) if options [ :flags ] else parts << options [ :cmd ] end additional_options ( parts , options ) end
Returns a StringArray of command parts
Returns a StringArray of command parts
None
StringArray
options