Remove incorrect comment from example formula
You can use any number of "/" operators, just as you can "+".
This commit is contained in:
parent
2dfc8c8352
commit
a6a4cd4c91
@ -345,9 +345,6 @@ class ExampleFormula < Formula
|
|||||||
# Further possibilities with the pathnames:
|
# Further possibilities with the pathnames:
|
||||||
# http://www.ruby-doc.org/stdlib-1.8.7/libdoc/pathname/rdoc/Pathname.html
|
# http://www.ruby-doc.org/stdlib-1.8.7/libdoc/pathname/rdoc/Pathname.html
|
||||||
|
|
||||||
# Sometime you will see that instead of `+` we build up a path with `/`
|
|
||||||
# because it looks nicer (but you can't nest more than two `/`):
|
|
||||||
(var/"foo").mkpath
|
|
||||||
# Copy `./example_code/simple/ones` to share/demos
|
# Copy `./example_code/simple/ones` to share/demos
|
||||||
(share/"demos").install "example_code/simple/ones"
|
(share/"demos").install "example_code/simple/ones"
|
||||||
# Copy `./example_code/simple/ones` to share/demos/examples
|
# Copy `./example_code/simple/ones` to share/demos/examples
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user