Advertisement
Guest User

Untitled

a guest
Dec 26th, 2011
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. def search_found?()
  2. share_get(:data)[:searchers].find { |searcher| match_found?(searcher[:search_method], searcher[:search_string]) }
  3. end
  4.  
  5. #how do I save the return value of match_found? inside the enumerable block?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement