class Bundler::Resolver

def find_state(current, states)

def find_state(current, states)
  states.detect { |i| current && current.name == i.name }
end