caliph 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/doc/Caliph/CommandChain.html +532 -0
 - data/doc/Caliph/CommandLine.html +2541 -0
 - data/doc/Caliph/CommandLineDSL.html +230 -0
 - data/doc/Caliph/CommandLineExampleGroup/MockingExecute.html +174 -0
 - data/doc/Caliph/CommandLineExampleGroup.html +366 -0
 - data/doc/Caliph/CommandRunResult.html +1124 -0
 - data/doc/Caliph/DefineOp/ClassMethods.html +250 -0
 - data/doc/Caliph/DefineOp.html +188 -0
 - data/doc/Caliph/MockCommandResult.html +465 -0
 - data/doc/Caliph/PipelineChain.html +242 -0
 - data/doc/Caliph/PrereqChain.html +242 -0
 - data/doc/Caliph/ShellEscaped.html +445 -0
 - data/doc/Caliph/WrappingChain.html +242 -0
 - data/doc/Caliph.html +119 -0
 - data/doc/_index.html +241 -0
 - data/doc/class_list.html +54 -0
 - data/doc/css/common.css +1 -0
 - data/doc/css/full_list.css +57 -0
 - data/doc/css/style.css +339 -0
 - data/doc/file.README.html +235 -0
 - data/doc/file_list.html +56 -0
 - data/doc/frames.html +26 -0
 - data/doc/index.html +235 -0
 - data/doc/js/app.js +219 -0
 - data/doc/js/full_list.js +178 -0
 - data/doc/js/jquery.js +4 -0
 - data/doc/method_list.html +503 -0
 - data/doc/top-level-namespace.html +112 -0
 - data/lib/caliph/command-chain.rb +4 -1
 - data/lib/caliph/command-line.rb +24 -81
 - data/lib/caliph/command-run-result.rb +48 -7
 - data/lib/caliph/shell.rb +172 -0
 - data/lib/caliph.rb +9 -0
 - data/spec/command-line-dsl.rb +15 -15
 - data/spec/command-line.rb +16 -18
 - data/spec_help/spec_helper.rb +9 -3
 - metadata +63 -6
 
| 
         @@ -0,0 +1,242 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 2 
     | 
    
         
            +
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 3 
     | 
    
         
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         
     | 
| 
      
 4 
     | 
    
         
            +
              <head>
         
     | 
| 
      
 5 
     | 
    
         
            +
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
      
 6 
     | 
    
         
            +
            <title>
         
     | 
| 
      
 7 
     | 
    
         
            +
              Class: Caliph::PipelineChain
         
     | 
| 
      
 8 
     | 
    
         
            +
              
         
     | 
| 
      
 9 
     | 
    
         
            +
                — Documentation by YARD 0.8.7.4
         
     | 
| 
      
 10 
     | 
    
         
            +
              
         
     | 
| 
      
 11 
     | 
    
         
            +
            </title>
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
              <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            <script type="text/javascript" charset="utf-8">
         
     | 
| 
      
 18 
     | 
    
         
            +
              hasFrames = window.top.frames.main ? true : false;
         
     | 
| 
      
 19 
     | 
    
         
            +
              relpath = '../';
         
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../frames.html#!Caliph/PipelineChain.html";
         
     | 
| 
      
 21 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
              <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
              <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              </head>
         
     | 
| 
      
 30 
     | 
    
         
            +
              <body>
         
     | 
| 
      
 31 
     | 
    
         
            +
                <div id="header">
         
     | 
| 
      
 32 
     | 
    
         
            +
                  <div id="menu">
         
     | 
| 
      
 33 
     | 
    
         
            +
              
         
     | 
| 
      
 34 
     | 
    
         
            +
                <a href="../_index.html">Index (P)</a> »
         
     | 
| 
      
 35 
     | 
    
         
            +
                <span class='title'><span class='object_link'><a href="../Caliph.html" title="Caliph (module)">Caliph</a></span></span>
         
     | 
| 
      
 36 
     | 
    
         
            +
                 » 
         
     | 
| 
      
 37 
     | 
    
         
            +
                <span class="title">PipelineChain</span>
         
     | 
| 
      
 38 
     | 
    
         
            +
              
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
         
     | 
| 
      
 41 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                  <div id="search">
         
     | 
| 
      
 44 
     | 
    
         
            +
              
         
     | 
| 
      
 45 
     | 
    
         
            +
                <a class="full_list_link" id="class_list_link"
         
     | 
| 
      
 46 
     | 
    
         
            +
                    href="../class_list.html">
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Class List
         
     | 
| 
      
 48 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 49 
     | 
    
         
            +
              
         
     | 
| 
      
 50 
     | 
    
         
            +
                <a class="full_list_link" id="method_list_link"
         
     | 
| 
      
 51 
     | 
    
         
            +
                    href="../method_list.html">
         
     | 
| 
      
 52 
     | 
    
         
            +
                  Method List
         
     | 
| 
      
 53 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 54 
     | 
    
         
            +
              
         
     | 
| 
      
 55 
     | 
    
         
            +
                <a class="full_list_link" id="file_list_link"
         
     | 
| 
      
 56 
     | 
    
         
            +
                    href="../file_list.html">
         
     | 
| 
      
 57 
     | 
    
         
            +
                  File List
         
     | 
| 
      
 58 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 59 
     | 
    
         
            +
              
         
     | 
| 
      
 60 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 61 
     | 
    
         
            +
                  <div class="clear"></div>
         
     | 
| 
      
 62 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                <iframe id="search_frame"></iframe>
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
                <div id="content"><h1>Class: Caliph::PipelineChain
         
     | 
| 
      
 67 
     | 
    
         
            +
              
         
     | 
| 
      
 68 
     | 
    
         
            +
              
         
     | 
| 
      
 69 
     | 
    
         
            +
              
         
     | 
| 
      
 70 
     | 
    
         
            +
            </h1>
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
            <dl class="box">
         
     | 
| 
      
 73 
     | 
    
         
            +
              
         
     | 
| 
      
 74 
     | 
    
         
            +
                <dt class="r1">Inherits:</dt>
         
     | 
| 
      
 75 
     | 
    
         
            +
                <dd class="r1">
         
     | 
| 
      
 76 
     | 
    
         
            +
                  <span class="inheritName"><span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></span>
         
     | 
| 
      
 77 
     | 
    
         
            +
                  
         
     | 
| 
      
 78 
     | 
    
         
            +
                    <ul class="fullTree">
         
     | 
| 
      
 79 
     | 
    
         
            +
                      <li>Object</li>
         
     | 
| 
      
 80 
     | 
    
         
            +
                      
         
     | 
| 
      
 81 
     | 
    
         
            +
                        <li class="next"><span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></li>
         
     | 
| 
      
 82 
     | 
    
         
            +
                      
         
     | 
| 
      
 83 
     | 
    
         
            +
                        <li class="next"><span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></li>
         
     | 
| 
      
 84 
     | 
    
         
            +
                      
         
     | 
| 
      
 85 
     | 
    
         
            +
                        <li class="next">Caliph::PipelineChain</li>
         
     | 
| 
      
 86 
     | 
    
         
            +
                      
         
     | 
| 
      
 87 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 88 
     | 
    
         
            +
                    <a href="#" class="inheritanceTree">show all</a>
         
     | 
| 
      
 89 
     | 
    
         
            +
                  
         
     | 
| 
      
 90 
     | 
    
         
            +
                  </dd>
         
     | 
| 
      
 91 
     | 
    
         
            +
                
         
     | 
| 
      
 92 
     | 
    
         
            +
              
         
     | 
| 
      
 93 
     | 
    
         
            +
              
         
     | 
| 
      
 94 
     | 
    
         
            +
                
         
     | 
| 
      
 95 
     | 
    
         
            +
              
         
     | 
| 
      
 96 
     | 
    
         
            +
                
         
     | 
| 
      
 97 
     | 
    
         
            +
              
         
     | 
| 
      
 98 
     | 
    
         
            +
              
         
     | 
| 
      
 99 
     | 
    
         
            +
              
         
     | 
| 
      
 100 
     | 
    
         
            +
                <dt class="r2 last">Defined in:</dt>
         
     | 
| 
      
 101 
     | 
    
         
            +
                <dd class="r2 last">lib/caliph/command-chain.rb</dd>
         
     | 
| 
      
 102 
     | 
    
         
            +
              
         
     | 
| 
      
 103 
     | 
    
         
            +
            </dl>
         
     | 
| 
      
 104 
     | 
    
         
            +
            <div class="clear"></div>
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
              <h2>Instance Attribute Summary</h2>
         
     | 
| 
      
 113 
     | 
    
         
            +
              
         
     | 
| 
      
 114 
     | 
    
         
            +
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></h3>
         
     | 
| 
      
 115 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandChain.html#commands-instance_method" title="Caliph::CommandChain#commands (method)">#commands</a></span></p>
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
              
         
     | 
| 
      
 118 
     | 
    
         
            +
              
         
     | 
| 
      
 119 
     | 
    
         
            +
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></h3>
         
     | 
| 
      
 120 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandLine.html#env-instance_method" title="Caliph::CommandLine#env (method)">#env</a></span>, <span class='object_link'><a href="CommandLine.html#executable-instance_method" title="Caliph::CommandLine#executable (method)">#executable</a></span>, <span class='object_link'><a href="CommandLine.html#name-instance_method" title="Caliph::CommandLine#name (method)">#name</a></span>, <span class='object_link'><a href="CommandLine.html#options-instance_method" title="Caliph::CommandLine#options (method)">#options</a></span>, <span class='object_link'><a href="CommandLine.html#output_stream-instance_method" title="Caliph::CommandLine#output_stream (method)">#output_stream</a></span>, <span class='object_link'><a href="CommandLine.html#redirections-instance_method" title="Caliph::CommandLine#redirections (method)">#redirections</a></span></p>
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
              
         
     | 
| 
      
 124 
     | 
    
         
            +
                <h2>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  Instance Method Summary
         
     | 
| 
      
 126 
     | 
    
         
            +
                  <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
         
     | 
| 
      
 127 
     | 
    
         
            +
                </h2>
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
                <ul class="summary">
         
     | 
| 
      
 130 
     | 
    
         
            +
                  
         
     | 
| 
      
 131 
     | 
    
         
            +
                    <li class="public ">
         
     | 
| 
      
 132 
     | 
    
         
            +
              <span class="summary_signature">
         
     | 
| 
      
 133 
     | 
    
         
            +
                
         
     | 
| 
      
 134 
     | 
    
         
            +
                  <a href="#command-instance_method" title="#command (instance method)">- (Object) <strong>command</strong> </a>
         
     | 
| 
      
 135 
     | 
    
         
            +
                
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
                
         
     | 
| 
      
 138 
     | 
    
         
            +
              </span>
         
     | 
| 
      
 139 
     | 
    
         
            +
              
         
     | 
| 
      
 140 
     | 
    
         
            +
              
         
     | 
| 
      
 141 
     | 
    
         
            +
              
         
     | 
| 
      
 142 
     | 
    
         
            +
              
         
     | 
| 
      
 143 
     | 
    
         
            +
              
         
     | 
| 
      
 144 
     | 
    
         
            +
              
         
     | 
| 
      
 145 
     | 
    
         
            +
              
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
              
         
     | 
| 
      
 148 
     | 
    
         
            +
                <span class="summary_desc"><div class='inline'></div></span>
         
     | 
| 
      
 149 
     | 
    
         
            +
              
         
     | 
| 
      
 150 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 151 
     | 
    
         
            +
             
     | 
| 
      
 152 
     | 
    
         
            +
                  
         
     | 
| 
      
 153 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 154 
     | 
    
         
            +
              
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
              
         
     | 
| 
      
 158 
     | 
    
         
            +
              
         
     | 
| 
      
 159 
     | 
    
         
            +
              
         
     | 
| 
      
 160 
     | 
    
         
            +
              
         
     | 
| 
      
 161 
     | 
    
         
            +
              
         
     | 
| 
      
 162 
     | 
    
         
            +
              
         
     | 
| 
      
 163 
     | 
    
         
            +
              
         
     | 
| 
      
 164 
     | 
    
         
            +
              
         
     | 
| 
      
 165 
     | 
    
         
            +
              <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></h3>
         
     | 
| 
      
 166 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandChain.html#add-instance_method" title="Caliph::CommandChain#add (method)">#add</a></span>, <span class='object_link'><a href="CommandChain.html#command_environment-instance_method" title="Caliph::CommandChain#command_environment (method)">#command_environment</a></span>, <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Caliph::CommandChain#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandChain.html#name-instance_method" title="Caliph::CommandChain#name (method)">#name</a></span></p>
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
              
         
     | 
| 
      
 169 
     | 
    
         
            +
              
         
     | 
| 
      
 170 
     | 
    
         
            +
              
         
     | 
| 
      
 171 
     | 
    
         
            +
              
         
     | 
| 
      
 172 
     | 
    
         
            +
              
         
     | 
| 
      
 173 
     | 
    
         
            +
              
         
     | 
| 
      
 174 
     | 
    
         
            +
              
         
     | 
| 
      
 175 
     | 
    
         
            +
              
         
     | 
| 
      
 176 
     | 
    
         
            +
              <h3 class="inherited">Methods included from <span class='object_link'><a href="DefineOp.html" title="Caliph::DefineOp (module)">DefineOp</a></span></h3>
         
     | 
| 
      
 177 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="DefineOp.html#included-class_method" title="Caliph::DefineOp.included (method)">included</a></span></p>
         
     | 
| 
      
 178 
     | 
    
         
            +
             
     | 
| 
      
 179 
     | 
    
         
            +
              
         
     | 
| 
      
 180 
     | 
    
         
            +
              
         
     | 
| 
      
 181 
     | 
    
         
            +
              
         
     | 
| 
      
 182 
     | 
    
         
            +
              
         
     | 
| 
      
 183 
     | 
    
         
            +
              
         
     | 
| 
      
 184 
     | 
    
         
            +
              
         
     | 
| 
      
 185 
     | 
    
         
            +
              
         
     | 
| 
      
 186 
     | 
    
         
            +
              
         
     | 
| 
      
 187 
     | 
    
         
            +
              <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></h3>
         
     | 
| 
      
 188 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandLine.html#collect_result-instance_method" title="Caliph::CommandLine#collect_result (method)">#collect_result</a></span>, <span class='object_link'><a href="CommandLine.html#complete-instance_method" title="Caliph::CommandLine#complete (method)">#complete</a></span>, <span class='object_link'><a href="CommandLine.html#copy_stream_to-instance_method" title="Caliph::CommandLine#copy_stream_to (method)">#copy_stream_to</a></span>, <span class='object_link'><a href="CommandLine.html#emit_recording-class_method" title="Caliph::CommandLine.emit_recording (method)">emit_recording</a></span>, <span class='object_link'><a href="CommandLine.html#execute-instance_method" title="Caliph::CommandLine#execute (method)">#execute</a></span>, <span class='object_link'><a href="CommandLine.html#execute-class_method" title="Caliph::CommandLine.execute (method)">execute</a></span>, <span class='object_link'><a href="CommandLine.html#initialize-instance_method" title="Caliph::CommandLine#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandLine.html#kill_process-instance_method" title="Caliph::CommandLine#kill_process (method)">#kill_process</a></span>, <span class='object_link'><a href="CommandLine.html#must_succeed%21-instance_method" title="Caliph::CommandLine#must_succeed! (method)">#must_succeed!</a></span>, <span class='object_link'><a href="CommandLine.html#options_composition-instance_method" title="Caliph::CommandLine#options_composition (method)">#options_composition</a></span>, <span class='object_link'><a href="CommandLine.html#original_execute-instance_method" title="Caliph::CommandLine#original_execute (method)">#original_execute</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_both-instance_method" title="Caliph::CommandLine#redirect_both (method)">#redirect_both</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_from-instance_method" title="Caliph::CommandLine#redirect_from (method)">#redirect_from</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stderr-instance_method" title="Caliph::CommandLine#redirect_stderr (method)">#redirect_stderr</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdin-instance_method" title="Caliph::CommandLine#redirect_stdin (method)">#redirect_stdin</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdout-instance_method" title="Caliph::CommandLine#redirect_stdout (method)">#redirect_stdout</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_to-instance_method" title="Caliph::CommandLine#redirect_to (method)">#redirect_to</a></span>, <span class='object_link'><a href="CommandLine.html#report-instance_method" title="Caliph::CommandLine#report (method)">#report</a></span>, <span class='object_link'><a href="CommandLine.html#run-instance_method" title="Caliph::CommandLine#run (method)">#run</a></span>, <span class='object_link'><a href="CommandLine.html#run_as_replacement-instance_method" title="Caliph::CommandLine#run_as_replacement (method)">#run_as_replacement</a></span>, <span class='object_link'><a href="CommandLine.html#run_detached-instance_method" title="Caliph::CommandLine#run_detached (method)">#run_detached</a></span>, <span class='object_link'><a href="CommandLine.html#run_in_background-instance_method" title="Caliph::CommandLine#run_in_background (method)">#run_in_background</a></span>, <span class='object_link'><a href="CommandLine.html#set_env-instance_method" title="Caliph::CommandLine#set_env (method)">#set_env</a></span>, <span class='object_link'><a href="CommandLine.html#spawn_process-instance_method" title="Caliph::CommandLine#spawn_process (method)">#spawn_process</a></span>, <span class='object_link'><a href="CommandLine.html#string_format-instance_method" title="Caliph::CommandLine#string_format (method)">#string_format</a></span>, <span class='object_link'><a href="CommandLine.html#succeeds%3F-instance_method" title="Caliph::CommandLine#succeeds? (method)">#succeeds?</a></span>, <span class='object_link'><a href="CommandLine.html#verbose-instance_method" title="Caliph::CommandLine#verbose (method)">#verbose</a></span></p>
         
     | 
| 
      
 189 
     | 
    
         
            +
            <div id="constructor_details" class="method_details_list">
         
     | 
| 
      
 190 
     | 
    
         
            +
              <h2>Constructor Details</h2>
         
     | 
| 
      
 191 
     | 
    
         
            +
              
         
     | 
| 
      
 192 
     | 
    
         
            +
                <p class="notice">This class inherits a constructor from <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Caliph::CommandChain#initialize (method)">Caliph::CommandChain</a></span></p>
         
     | 
| 
      
 193 
     | 
    
         
            +
              
         
     | 
| 
      
 194 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 195 
     | 
    
         
            +
             
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
              <div id="instance_method_details" class="method_details_list">
         
     | 
| 
      
 198 
     | 
    
         
            +
                <h2>Instance Method Details</h2>
         
     | 
| 
      
 199 
     | 
    
         
            +
             
     | 
| 
      
 200 
     | 
    
         
            +
                
         
     | 
| 
      
 201 
     | 
    
         
            +
                  <div class="method_details first">
         
     | 
| 
      
 202 
     | 
    
         
            +
              <h3 class="signature first" id="command-instance_method">
         
     | 
| 
      
 203 
     | 
    
         
            +
              
         
     | 
| 
      
 204 
     | 
    
         
            +
                - (<tt>Object</tt>) <strong>command</strong> 
         
     | 
| 
      
 205 
     | 
    
         
            +
              
         
     | 
| 
      
 206 
     | 
    
         
            +
             
     | 
| 
      
 207 
     | 
    
         
            +
              
         
     | 
| 
      
 208 
     | 
    
         
            +
             
     | 
| 
      
 209 
     | 
    
         
            +
              
         
     | 
| 
      
 210 
     | 
    
         
            +
            </h3><table class="source_code">
         
     | 
| 
      
 211 
     | 
    
         
            +
              <tr>
         
     | 
| 
      
 212 
     | 
    
         
            +
                <td>
         
     | 
| 
      
 213 
     | 
    
         
            +
                  <pre class="lines">
         
     | 
| 
      
 214 
     | 
    
         
            +
             
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
      
 216 
     | 
    
         
            +
            53
         
     | 
| 
      
 217 
     | 
    
         
            +
            54
         
     | 
| 
      
 218 
     | 
    
         
            +
            55</pre>
         
     | 
| 
      
 219 
     | 
    
         
            +
                </td>
         
     | 
| 
      
 220 
     | 
    
         
            +
                <td>
         
     | 
| 
      
 221 
     | 
    
         
            +
                  <pre class="code"><span class="info file"># File 'lib/caliph/command-chain.rb', line 53</span>
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
      
 223 
     | 
    
         
            +
            <span class='kw'>def</span> <span class='id identifier rubyid_command'>command</span>
         
     | 
| 
      
 224 
     | 
    
         
            +
              <span class='ivar'>@commands</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_cmd'>cmd</span><span class='op'>|</span> <span class='id identifier rubyid_cmd'>cmd</span><span class='period'>.</span><span class='id identifier rubyid_command'>command</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> | </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
         
     | 
| 
      
 225 
     | 
    
         
            +
            <span class='kw'>end</span></pre>
         
     | 
| 
      
 226 
     | 
    
         
            +
                </td>
         
     | 
| 
      
 227 
     | 
    
         
            +
              </tr>
         
     | 
| 
      
 228 
     | 
    
         
            +
            </table>
         
     | 
| 
      
 229 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 230 
     | 
    
         
            +
                
         
     | 
| 
      
 231 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 232 
     | 
    
         
            +
             
     | 
| 
      
 233 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 234 
     | 
    
         
            +
             
     | 
| 
      
 235 
     | 
    
         
            +
                <div id="footer">
         
     | 
| 
      
 236 
     | 
    
         
            +
              Generated on Fri Jun 13 17:31:08 2014 by
         
     | 
| 
      
 237 
     | 
    
         
            +
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
      
 238 
     | 
    
         
            +
              0.8.7.4 (ruby-2.0.0).
         
     | 
| 
      
 239 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 240 
     | 
    
         
            +
             
     | 
| 
      
 241 
     | 
    
         
            +
              </body>
         
     | 
| 
      
 242 
     | 
    
         
            +
            </html>
         
     | 
| 
         @@ -0,0 +1,242 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         
     | 
| 
      
 2 
     | 
    
         
            +
              "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
         
     | 
| 
      
 3 
     | 
    
         
            +
            <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
         
     | 
| 
      
 4 
     | 
    
         
            +
              <head>
         
     | 
| 
      
 5 
     | 
    
         
            +
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
         
     | 
| 
      
 6 
     | 
    
         
            +
            <title>
         
     | 
| 
      
 7 
     | 
    
         
            +
              Class: Caliph::PrereqChain
         
     | 
| 
      
 8 
     | 
    
         
            +
              
         
     | 
| 
      
 9 
     | 
    
         
            +
                — Documentation by YARD 0.8.7.4
         
     | 
| 
      
 10 
     | 
    
         
            +
              
         
     | 
| 
      
 11 
     | 
    
         
            +
            </title>
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
              <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
              <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            <script type="text/javascript" charset="utf-8">
         
     | 
| 
      
 18 
     | 
    
         
            +
              hasFrames = window.top.frames.main ? true : false;
         
     | 
| 
      
 19 
     | 
    
         
            +
              relpath = '../';
         
     | 
| 
      
 20 
     | 
    
         
            +
              framesUrl = "../frames.html#!Caliph/PrereqChain.html";
         
     | 
| 
      
 21 
     | 
    
         
            +
            </script>
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
              <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
              <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
              </head>
         
     | 
| 
      
 30 
     | 
    
         
            +
              <body>
         
     | 
| 
      
 31 
     | 
    
         
            +
                <div id="header">
         
     | 
| 
      
 32 
     | 
    
         
            +
                  <div id="menu">
         
     | 
| 
      
 33 
     | 
    
         
            +
              
         
     | 
| 
      
 34 
     | 
    
         
            +
                <a href="../_index.html">Index (P)</a> »
         
     | 
| 
      
 35 
     | 
    
         
            +
                <span class='title'><span class='object_link'><a href="../Caliph.html" title="Caliph (module)">Caliph</a></span></span>
         
     | 
| 
      
 36 
     | 
    
         
            +
                 » 
         
     | 
| 
      
 37 
     | 
    
         
            +
                <span class="title">PrereqChain</span>
         
     | 
| 
      
 38 
     | 
    
         
            +
              
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
              <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
         
     | 
| 
      
 41 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                  <div id="search">
         
     | 
| 
      
 44 
     | 
    
         
            +
              
         
     | 
| 
      
 45 
     | 
    
         
            +
                <a class="full_list_link" id="class_list_link"
         
     | 
| 
      
 46 
     | 
    
         
            +
                    href="../class_list.html">
         
     | 
| 
      
 47 
     | 
    
         
            +
                  Class List
         
     | 
| 
      
 48 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 49 
     | 
    
         
            +
              
         
     | 
| 
      
 50 
     | 
    
         
            +
                <a class="full_list_link" id="method_list_link"
         
     | 
| 
      
 51 
     | 
    
         
            +
                    href="../method_list.html">
         
     | 
| 
      
 52 
     | 
    
         
            +
                  Method List
         
     | 
| 
      
 53 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 54 
     | 
    
         
            +
              
         
     | 
| 
      
 55 
     | 
    
         
            +
                <a class="full_list_link" id="file_list_link"
         
     | 
| 
      
 56 
     | 
    
         
            +
                    href="../file_list.html">
         
     | 
| 
      
 57 
     | 
    
         
            +
                  File List
         
     | 
| 
      
 58 
     | 
    
         
            +
                </a>
         
     | 
| 
      
 59 
     | 
    
         
            +
              
         
     | 
| 
      
 60 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 61 
     | 
    
         
            +
                  <div class="clear"></div>
         
     | 
| 
      
 62 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                <iframe id="search_frame"></iframe>
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
                <div id="content"><h1>Class: Caliph::PrereqChain
         
     | 
| 
      
 67 
     | 
    
         
            +
              
         
     | 
| 
      
 68 
     | 
    
         
            +
              
         
     | 
| 
      
 69 
     | 
    
         
            +
              
         
     | 
| 
      
 70 
     | 
    
         
            +
            </h1>
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
            <dl class="box">
         
     | 
| 
      
 73 
     | 
    
         
            +
              
         
     | 
| 
      
 74 
     | 
    
         
            +
                <dt class="r1">Inherits:</dt>
         
     | 
| 
      
 75 
     | 
    
         
            +
                <dd class="r1">
         
     | 
| 
      
 76 
     | 
    
         
            +
                  <span class="inheritName"><span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></span>
         
     | 
| 
      
 77 
     | 
    
         
            +
                  
         
     | 
| 
      
 78 
     | 
    
         
            +
                    <ul class="fullTree">
         
     | 
| 
      
 79 
     | 
    
         
            +
                      <li>Object</li>
         
     | 
| 
      
 80 
     | 
    
         
            +
                      
         
     | 
| 
      
 81 
     | 
    
         
            +
                        <li class="next"><span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></li>
         
     | 
| 
      
 82 
     | 
    
         
            +
                      
         
     | 
| 
      
 83 
     | 
    
         
            +
                        <li class="next"><span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></li>
         
     | 
| 
      
 84 
     | 
    
         
            +
                      
         
     | 
| 
      
 85 
     | 
    
         
            +
                        <li class="next">Caliph::PrereqChain</li>
         
     | 
| 
      
 86 
     | 
    
         
            +
                      
         
     | 
| 
      
 87 
     | 
    
         
            +
                    </ul>
         
     | 
| 
      
 88 
     | 
    
         
            +
                    <a href="#" class="inheritanceTree">show all</a>
         
     | 
| 
      
 89 
     | 
    
         
            +
                  
         
     | 
| 
      
 90 
     | 
    
         
            +
                  </dd>
         
     | 
| 
      
 91 
     | 
    
         
            +
                
         
     | 
| 
      
 92 
     | 
    
         
            +
              
         
     | 
| 
      
 93 
     | 
    
         
            +
              
         
     | 
| 
      
 94 
     | 
    
         
            +
                
         
     | 
| 
      
 95 
     | 
    
         
            +
              
         
     | 
| 
      
 96 
     | 
    
         
            +
                
         
     | 
| 
      
 97 
     | 
    
         
            +
              
         
     | 
| 
      
 98 
     | 
    
         
            +
              
         
     | 
| 
      
 99 
     | 
    
         
            +
              
         
     | 
| 
      
 100 
     | 
    
         
            +
                <dt class="r2 last">Defined in:</dt>
         
     | 
| 
      
 101 
     | 
    
         
            +
                <dd class="r2 last">lib/caliph/command-chain.rb</dd>
         
     | 
| 
      
 102 
     | 
    
         
            +
              
         
     | 
| 
      
 103 
     | 
    
         
            +
            </dl>
         
     | 
| 
      
 104 
     | 
    
         
            +
            <div class="clear"></div>
         
     | 
| 
      
 105 
     | 
    
         
            +
             
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
             
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
             
     | 
| 
      
 110 
     | 
    
         
            +
             
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
              <h2>Instance Attribute Summary</h2>
         
     | 
| 
      
 113 
     | 
    
         
            +
              
         
     | 
| 
      
 114 
     | 
    
         
            +
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></h3>
         
     | 
| 
      
 115 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandChain.html#commands-instance_method" title="Caliph::CommandChain#commands (method)">#commands</a></span></p>
         
     | 
| 
      
 116 
     | 
    
         
            +
             
     | 
| 
      
 117 
     | 
    
         
            +
              
         
     | 
| 
      
 118 
     | 
    
         
            +
              
         
     | 
| 
      
 119 
     | 
    
         
            +
              <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></h3>
         
     | 
| 
      
 120 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandLine.html#env-instance_method" title="Caliph::CommandLine#env (method)">#env</a></span>, <span class='object_link'><a href="CommandLine.html#executable-instance_method" title="Caliph::CommandLine#executable (method)">#executable</a></span>, <span class='object_link'><a href="CommandLine.html#name-instance_method" title="Caliph::CommandLine#name (method)">#name</a></span>, <span class='object_link'><a href="CommandLine.html#options-instance_method" title="Caliph::CommandLine#options (method)">#options</a></span>, <span class='object_link'><a href="CommandLine.html#output_stream-instance_method" title="Caliph::CommandLine#output_stream (method)">#output_stream</a></span>, <span class='object_link'><a href="CommandLine.html#redirections-instance_method" title="Caliph::CommandLine#redirections (method)">#redirections</a></span></p>
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
             
     | 
| 
      
 123 
     | 
    
         
            +
              
         
     | 
| 
      
 124 
     | 
    
         
            +
                <h2>
         
     | 
| 
      
 125 
     | 
    
         
            +
                  Instance Method Summary
         
     | 
| 
      
 126 
     | 
    
         
            +
                  <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
         
     | 
| 
      
 127 
     | 
    
         
            +
                </h2>
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
                <ul class="summary">
         
     | 
| 
      
 130 
     | 
    
         
            +
                  
         
     | 
| 
      
 131 
     | 
    
         
            +
                    <li class="public ">
         
     | 
| 
      
 132 
     | 
    
         
            +
              <span class="summary_signature">
         
     | 
| 
      
 133 
     | 
    
         
            +
                
         
     | 
| 
      
 134 
     | 
    
         
            +
                  <a href="#command-instance_method" title="#command (instance method)">- (Object) <strong>command</strong> </a>
         
     | 
| 
      
 135 
     | 
    
         
            +
                
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
                
         
     | 
| 
      
 138 
     | 
    
         
            +
              </span>
         
     | 
| 
      
 139 
     | 
    
         
            +
              
         
     | 
| 
      
 140 
     | 
    
         
            +
              
         
     | 
| 
      
 141 
     | 
    
         
            +
              
         
     | 
| 
      
 142 
     | 
    
         
            +
              
         
     | 
| 
      
 143 
     | 
    
         
            +
              
         
     | 
| 
      
 144 
     | 
    
         
            +
              
         
     | 
| 
      
 145 
     | 
    
         
            +
              
         
     | 
| 
      
 146 
     | 
    
         
            +
             
     | 
| 
      
 147 
     | 
    
         
            +
              
         
     | 
| 
      
 148 
     | 
    
         
            +
                <span class="summary_desc"><div class='inline'></div></span>
         
     | 
| 
      
 149 
     | 
    
         
            +
              
         
     | 
| 
      
 150 
     | 
    
         
            +
            </li>
         
     | 
| 
      
 151 
     | 
    
         
            +
             
     | 
| 
      
 152 
     | 
    
         
            +
                  
         
     | 
| 
      
 153 
     | 
    
         
            +
                </ul>
         
     | 
| 
      
 154 
     | 
    
         
            +
              
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
             
     | 
| 
      
 157 
     | 
    
         
            +
              
         
     | 
| 
      
 158 
     | 
    
         
            +
              
         
     | 
| 
      
 159 
     | 
    
         
            +
              
         
     | 
| 
      
 160 
     | 
    
         
            +
              
         
     | 
| 
      
 161 
     | 
    
         
            +
              
         
     | 
| 
      
 162 
     | 
    
         
            +
              
         
     | 
| 
      
 163 
     | 
    
         
            +
              
         
     | 
| 
      
 164 
     | 
    
         
            +
              
         
     | 
| 
      
 165 
     | 
    
         
            +
              <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandChain.html" title="Caliph::CommandChain (class)">CommandChain</a></span></h3>
         
     | 
| 
      
 166 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandChain.html#add-instance_method" title="Caliph::CommandChain#add (method)">#add</a></span>, <span class='object_link'><a href="CommandChain.html#command_environment-instance_method" title="Caliph::CommandChain#command_environment (method)">#command_environment</a></span>, <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Caliph::CommandChain#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandChain.html#name-instance_method" title="Caliph::CommandChain#name (method)">#name</a></span></p>
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
              
         
     | 
| 
      
 169 
     | 
    
         
            +
              
         
     | 
| 
      
 170 
     | 
    
         
            +
              
         
     | 
| 
      
 171 
     | 
    
         
            +
              
         
     | 
| 
      
 172 
     | 
    
         
            +
              
         
     | 
| 
      
 173 
     | 
    
         
            +
              
         
     | 
| 
      
 174 
     | 
    
         
            +
              
         
     | 
| 
      
 175 
     | 
    
         
            +
              
         
     | 
| 
      
 176 
     | 
    
         
            +
              <h3 class="inherited">Methods included from <span class='object_link'><a href="DefineOp.html" title="Caliph::DefineOp (module)">DefineOp</a></span></h3>
         
     | 
| 
      
 177 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="DefineOp.html#included-class_method" title="Caliph::DefineOp.included (method)">included</a></span></p>
         
     | 
| 
      
 178 
     | 
    
         
            +
             
     | 
| 
      
 179 
     | 
    
         
            +
              
         
     | 
| 
      
 180 
     | 
    
         
            +
              
         
     | 
| 
      
 181 
     | 
    
         
            +
              
         
     | 
| 
      
 182 
     | 
    
         
            +
              
         
     | 
| 
      
 183 
     | 
    
         
            +
              
         
     | 
| 
      
 184 
     | 
    
         
            +
              
         
     | 
| 
      
 185 
     | 
    
         
            +
              
         
     | 
| 
      
 186 
     | 
    
         
            +
              
         
     | 
| 
      
 187 
     | 
    
         
            +
              <h3 class="inherited">Methods inherited from <span class='object_link'><a href="CommandLine.html" title="Caliph::CommandLine (class)">CommandLine</a></span></h3>
         
     | 
| 
      
 188 
     | 
    
         
            +
              <p class="inherited"><span class='object_link'><a href="CommandLine.html#collect_result-instance_method" title="Caliph::CommandLine#collect_result (method)">#collect_result</a></span>, <span class='object_link'><a href="CommandLine.html#complete-instance_method" title="Caliph::CommandLine#complete (method)">#complete</a></span>, <span class='object_link'><a href="CommandLine.html#copy_stream_to-instance_method" title="Caliph::CommandLine#copy_stream_to (method)">#copy_stream_to</a></span>, <span class='object_link'><a href="CommandLine.html#emit_recording-class_method" title="Caliph::CommandLine.emit_recording (method)">emit_recording</a></span>, <span class='object_link'><a href="CommandLine.html#execute-instance_method" title="Caliph::CommandLine#execute (method)">#execute</a></span>, <span class='object_link'><a href="CommandLine.html#execute-class_method" title="Caliph::CommandLine.execute (method)">execute</a></span>, <span class='object_link'><a href="CommandLine.html#initialize-instance_method" title="Caliph::CommandLine#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="CommandLine.html#kill_process-instance_method" title="Caliph::CommandLine#kill_process (method)">#kill_process</a></span>, <span class='object_link'><a href="CommandLine.html#must_succeed%21-instance_method" title="Caliph::CommandLine#must_succeed! (method)">#must_succeed!</a></span>, <span class='object_link'><a href="CommandLine.html#options_composition-instance_method" title="Caliph::CommandLine#options_composition (method)">#options_composition</a></span>, <span class='object_link'><a href="CommandLine.html#original_execute-instance_method" title="Caliph::CommandLine#original_execute (method)">#original_execute</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_both-instance_method" title="Caliph::CommandLine#redirect_both (method)">#redirect_both</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_from-instance_method" title="Caliph::CommandLine#redirect_from (method)">#redirect_from</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stderr-instance_method" title="Caliph::CommandLine#redirect_stderr (method)">#redirect_stderr</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdin-instance_method" title="Caliph::CommandLine#redirect_stdin (method)">#redirect_stdin</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_stdout-instance_method" title="Caliph::CommandLine#redirect_stdout (method)">#redirect_stdout</a></span>, <span class='object_link'><a href="CommandLine.html#redirect_to-instance_method" title="Caliph::CommandLine#redirect_to (method)">#redirect_to</a></span>, <span class='object_link'><a href="CommandLine.html#report-instance_method" title="Caliph::CommandLine#report (method)">#report</a></span>, <span class='object_link'><a href="CommandLine.html#run-instance_method" title="Caliph::CommandLine#run (method)">#run</a></span>, <span class='object_link'><a href="CommandLine.html#run_as_replacement-instance_method" title="Caliph::CommandLine#run_as_replacement (method)">#run_as_replacement</a></span>, <span class='object_link'><a href="CommandLine.html#run_detached-instance_method" title="Caliph::CommandLine#run_detached (method)">#run_detached</a></span>, <span class='object_link'><a href="CommandLine.html#run_in_background-instance_method" title="Caliph::CommandLine#run_in_background (method)">#run_in_background</a></span>, <span class='object_link'><a href="CommandLine.html#set_env-instance_method" title="Caliph::CommandLine#set_env (method)">#set_env</a></span>, <span class='object_link'><a href="CommandLine.html#spawn_process-instance_method" title="Caliph::CommandLine#spawn_process (method)">#spawn_process</a></span>, <span class='object_link'><a href="CommandLine.html#string_format-instance_method" title="Caliph::CommandLine#string_format (method)">#string_format</a></span>, <span class='object_link'><a href="CommandLine.html#succeeds%3F-instance_method" title="Caliph::CommandLine#succeeds? (method)">#succeeds?</a></span>, <span class='object_link'><a href="CommandLine.html#verbose-instance_method" title="Caliph::CommandLine#verbose (method)">#verbose</a></span></p>
         
     | 
| 
      
 189 
     | 
    
         
            +
            <div id="constructor_details" class="method_details_list">
         
     | 
| 
      
 190 
     | 
    
         
            +
              <h2>Constructor Details</h2>
         
     | 
| 
      
 191 
     | 
    
         
            +
              
         
     | 
| 
      
 192 
     | 
    
         
            +
                <p class="notice">This class inherits a constructor from <span class='object_link'><a href="CommandChain.html#initialize-instance_method" title="Caliph::CommandChain#initialize (method)">Caliph::CommandChain</a></span></p>
         
     | 
| 
      
 193 
     | 
    
         
            +
              
         
     | 
| 
      
 194 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 195 
     | 
    
         
            +
             
     | 
| 
      
 196 
     | 
    
         
            +
             
     | 
| 
      
 197 
     | 
    
         
            +
              <div id="instance_method_details" class="method_details_list">
         
     | 
| 
      
 198 
     | 
    
         
            +
                <h2>Instance Method Details</h2>
         
     | 
| 
      
 199 
     | 
    
         
            +
             
     | 
| 
      
 200 
     | 
    
         
            +
                
         
     | 
| 
      
 201 
     | 
    
         
            +
                  <div class="method_details first">
         
     | 
| 
      
 202 
     | 
    
         
            +
              <h3 class="signature first" id="command-instance_method">
         
     | 
| 
      
 203 
     | 
    
         
            +
              
         
     | 
| 
      
 204 
     | 
    
         
            +
                - (<tt>Object</tt>) <strong>command</strong> 
         
     | 
| 
      
 205 
     | 
    
         
            +
              
         
     | 
| 
      
 206 
     | 
    
         
            +
             
     | 
| 
      
 207 
     | 
    
         
            +
              
         
     | 
| 
      
 208 
     | 
    
         
            +
             
     | 
| 
      
 209 
     | 
    
         
            +
              
         
     | 
| 
      
 210 
     | 
    
         
            +
            </h3><table class="source_code">
         
     | 
| 
      
 211 
     | 
    
         
            +
              <tr>
         
     | 
| 
      
 212 
     | 
    
         
            +
                <td>
         
     | 
| 
      
 213 
     | 
    
         
            +
                  <pre class="lines">
         
     | 
| 
      
 214 
     | 
    
         
            +
             
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
      
 216 
     | 
    
         
            +
            45
         
     | 
| 
      
 217 
     | 
    
         
            +
            46
         
     | 
| 
      
 218 
     | 
    
         
            +
            47</pre>
         
     | 
| 
      
 219 
     | 
    
         
            +
                </td>
         
     | 
| 
      
 220 
     | 
    
         
            +
                <td>
         
     | 
| 
      
 221 
     | 
    
         
            +
                  <pre class="code"><span class="info file"># File 'lib/caliph/command-chain.rb', line 45</span>
         
     | 
| 
      
 222 
     | 
    
         
            +
             
     | 
| 
      
 223 
     | 
    
         
            +
            <span class='kw'>def</span> <span class='id identifier rubyid_command'>command</span>
         
     | 
| 
      
 224 
     | 
    
         
            +
              <span class='ivar'>@commands</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_cmd'>cmd</span><span class='op'>|</span> <span class='id identifier rubyid_cmd'>cmd</span><span class='period'>.</span><span class='id identifier rubyid_command'>command</span><span class='rbrace'>}</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> && </span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
         
     | 
| 
      
 225 
     | 
    
         
            +
            <span class='kw'>end</span></pre>
         
     | 
| 
      
 226 
     | 
    
         
            +
                </td>
         
     | 
| 
      
 227 
     | 
    
         
            +
              </tr>
         
     | 
| 
      
 228 
     | 
    
         
            +
            </table>
         
     | 
| 
      
 229 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 230 
     | 
    
         
            +
                
         
     | 
| 
      
 231 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 232 
     | 
    
         
            +
             
     | 
| 
      
 233 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 234 
     | 
    
         
            +
             
     | 
| 
      
 235 
     | 
    
         
            +
                <div id="footer">
         
     | 
| 
      
 236 
     | 
    
         
            +
              Generated on Fri Jun 13 17:31:08 2014 by
         
     | 
| 
      
 237 
     | 
    
         
            +
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         
     | 
| 
      
 238 
     | 
    
         
            +
              0.8.7.4 (ruby-2.0.0).
         
     | 
| 
      
 239 
     | 
    
         
            +
            </div>
         
     | 
| 
      
 240 
     | 
    
         
            +
             
     | 
| 
      
 241 
     | 
    
         
            +
              </body>
         
     | 
| 
      
 242 
     | 
    
         
            +
            </html>
         
     |