diff options
| author | Jack Nagel | 2014-03-22 13:16:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-22 13:16:16 -0500 |
| commit | 543f2a68e9c9fbda3e75f4c4883fef1248cb83f9 (patch) | |
| tree | 2f2ba124561eec37260db96ec3b4b4b44cf60fb8 | |
| parent | 26c93c95446976da121ad76929f2224d3088bf1f (diff) | |
| download | brew-543f2a68e9c9fbda3e75f4c4883fef1248cb83f9.tar.bz2 | |
Don't send, just call the method directly
| -rw-r--r-- | Library/Homebrew/cmd/cleanup.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/tab.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 69b55ddd0..732883e1a 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -114,7 +114,7 @@ class Formula select{ |ff| ff.deps.map{ |d| d.to_s }.include? name }. map{ |ff| ff.rack.subdirs rescue [] }. flatten. - map{ |keg_path| Tab.for_keg(keg_path).send("HEAD") }. + map{ |keg_path| Tab.for_keg(keg_path).HEAD }. include? nil end end diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index dd9bbb369..ed729a706 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -124,7 +124,7 @@ class Tab < OpenStruct :poured_from_bottle => poured_from_bottle, :tapped_from => tapped_from, :time => time, - :HEAD => send("HEAD"), + :HEAD => self.HEAD, :stdlib => (stdlib.to_s if stdlib), :compiler => (compiler.to_s if compiler)}) end |
