Commit e1a387d6 authored by Hugo Tunius's avatar Hugo Tunius Committed by Fabio Pelosin

[Search][POD::UserInterface] Use specification:derepecated? instead of the…

[Search][POD::UserInterface] Use specification:derepecated? instead of the remove presenter:deprecated?
parent 62cc825b
......@@ -163,7 +163,7 @@ module Pod
else
pod = Specification::Set::Presenter.new(set, statistics_provider)
title = "\n-> #{pod.name} (#{pod.version})"
if pod.deprecated?
if pod.spec.deprecated?
title += " #{pod.deprecation_description}"
colored_title = title.red
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment