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 ...@@ -163,7 +163,7 @@ module Pod
else else
pod = Specification::Set::Presenter.new(set, statistics_provider) pod = Specification::Set::Presenter.new(set, statistics_provider)
title = "\n-> #{pod.name} (#{pod.version})" title = "\n-> #{pod.name} (#{pod.version})"
if pod.deprecated? if pod.spec.deprecated?
title += " #{pod.deprecation_description}" title += " #{pod.deprecation_description}"
colored_title = title.red colored_title = title.red
else 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