Skip to content

Commit a1f9871

Browse files
committedApr 14, 2015
brew-cask.rb: name requirement subclass better
Sorry, pedantry here that I'm about to fix globally in Homebrew/homebrew: it doesn't really make sense to use `Dependency` in the name here because this is a `Requirement` and a `Dependency` is another, similar internal Homebrew class so this change is a bit less confusing.
1 parent a328cf8 commit a1f9871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎brew-cask.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
HBC_VERSION = HOMEBREW_CASK_VERSION
88
end
99

10-
class Ruby20Dependency < Requirement
10+
class Ruby20Requirement < Requirement
1111
fatal true
1212
default_formula "ruby"
1313

@@ -35,7 +35,7 @@ class BrewCask < Formula
3535

3636
skip_clean "bin"
3737

38-
depends_on Ruby20Dependency
38+
depends_on Ruby20Requirement
3939

4040
def install
4141
man1.install "doc/man/brew-cask.1"

0 commit comments

Comments
 (0)
Please sign in to comment.