dysinger-rush 0.4.1221060147 → 0.4.1221072146
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rush/box.rb +2 -0
- data/lib/rush/dir.rb +2 -0
- metadata +1 -1
data/lib/rush/box.rb
CHANGED
data/lib/rush/dir.rb
CHANGED
@@ -123,6 +123,8 @@ class Rush::Dir < Rush::Entry
|
|
123
123
|
box.bash "cd #{full_path} && #{command}", options
|
124
124
|
end
|
125
125
|
|
126
|
+
alias_method(:sh, :bash)
|
127
|
+
|
126
128
|
# Destroy all of the contents of the directory, leaving it fresh and clean.
|
127
129
|
def purge
|
128
130
|
connection.purge full_path
|