Skip to content

Commit

Permalink
Still need this unfortunately.
Browse files Browse the repository at this point in the history
  • Loading branch information
Darrick Wiebe committed Mar 29, 2011
1 parent 752f97e commit b701d28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pacer/filter/collection_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 50,8 @@ def collection=(collection)
def element_id_hashset(collection)
if collection.is_a? Pacer::Core::Graph::ElementRoute
collection.element_ids.to_hashset
else
collection.to_hashset(:element_id) rescue nil
end
end

Expand Down

0 comments on commit b701d28

Please sign in to comment.