Don't send, just call the method directly

This commit is contained in:
Jack Nagel 2014-03-22 13:16:16 -05:00
parent 26c93c9544
commit 543f2a68e9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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