added documentation and a license file
[rubygit.git] / doc / classes / Git / Base.src / M000084.html
blob08b3b4a6baab42f6078c752b93a9b7953dfc6e36
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html>
7 <head>
8 <title>chdir (Git::Base)</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11 </head>
12 <body class="standalone-code">
13 <pre><span class="ruby-comment cmt"># File lib/git/base.rb, line 87</span>
14 <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chdir</span>
15 <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>.<span class="ruby-identifier">path</span>) <span class="ruby-keyword kw">do</span>
16 <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">dir</span>.<span class="ruby-identifier">path</span>
17 <span class="ruby-keyword kw">end</span>
18 <span class="ruby-keyword kw">end</span></pre>
19 </body>
20 </html>