diff options
| author | Markus Reiter | 2016-09-23 18:13:48 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-09-23 18:19:53 +0200 |
| commit | e851c9bf6c3adda268f1a307d6b49acb1ad1852d (patch) | |
| tree | bb34a927e27ee6133fdbca4695e2b8db98e0e2f5 /Library/Homebrew/software_spec.rb | |
| parent | 25d5f74f3ef54aba3baa43c4adcd323f2cb0fdc6 (diff) | |
| download | brew-e851c9bf6c3adda268f1a307d6b49acb1ad1852d.tar.bz2 | |
Style/Alias: Prefer `alias`.
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
| -rw-r--r-- | Library/Homebrew/software_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 25373c322..bb432e2dd 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -228,7 +228,7 @@ class Bottle def to_s prefix + suffix end - alias_method :to_str, :to_s + alias to_str to_s def prefix "#{name}-#{version}.#{tag}" |
