class YARD::CLI::Diff

def modified_objects(registry1, registry2)

def modified_objects(registry1, registry2)
  registry1.select do |obj|
    case obj
    when CodeObjects::MethodObject
      registry2.find {|o| obj == o && o.source != obj.source }
    when CodeObjects::ConstantObject
      registry2.find {|o| obj == o && o.value != obj.value }
    end
  end.compact
end