lib/yard/server/library_version.rb in yard-0.8.2.1 vs lib/yard/server/library_version.rb in yard-0.8.3

- old
+ new

@@ -160,11 +160,11 @@ # begin preparing the library for subsequent requests, although this # is not necessary. def prepare! return if yardoc_file meth = "load_yardoc_from_#{source}" - send(meth) if respond_to?(meth) + send(meth) if respond_to?(meth, true) end # @return [Gem::Specification] a gemspec object for a given library. Used # for :gem source types. # @return [nil] if there is no installed gem for the library @@ -218,10 +218,10 @@ private def load_source_path meth = "source_path_for_#{source}" - send(meth) if respond_to?(meth) + send(meth) if respond_to?(meth, true) end end end end \ No newline at end of file