Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
garybernhardt committed Jan 1, 2011
1 parent 58c7a8d commit f6a8fa5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions progress_bar_finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ def find
end.flatten
end

def crawl_element(element)
my_indicator_count = element.buttons.count
child_indicator_count = 0
children = element.UIElements.get()
return my_indicator_count if children.empty?
children = element.UIElements.get() or []
child_indicator_counts = children.map do |element|
child_indicator_count += crawl_element(element)
end
return my_indicator_count + child_indicator_count
end

def real_methods(obj)
return (obj.methods(true, true) - NSObject.methods(true, true)).sort
end
Expand Down

0 comments on commit f6a8fa5

Please sign in to comment.