templates/default/method_details/text/setup.rb in yard-0.9.16 vs templates/default/method_details/text/setup.rb in yard-0.9.17

- old
+ new

@@ -1,11 +1,11 @@ -# frozen_string_literal: true -def init - super - sections.last.pop -end - -def format_object_title(object) - title = "Method: #{object.name(true)}" - title += " (#{object.namespace})" unless object.namespace.root? - title -end +# frozen_string_literal: true +def init + super + sections.last.pop +end + +def format_object_title(object) + title = "Method: #{object.name(true)}" + title += " (#{object.namespace})" unless object.namespace.root? + title +end