Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Make Command and Path more string-like"
This reverts commit b3adc4c. Turns out that this doesn't provide a lot of value, since a lot of operations don't work on the Path and Command objects anyway, and it's even somewhat misleading.
- Loading branch information
1 parent
b3adc4c
commit 33792bf
Showing
4 changed files
with
0 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,5 @@ def initialize(command) | |
def to_s | ||
@command.to_s.gsub("'", "''") | ||
end | ||
alias_method :to_str, :to_s | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters