Sha256: fb94b2a1c7a865b8f2661bbc7d827ef246674d296409495b92bb68d3367ea3b2
Contents?: true
Size: 465 Bytes
Versions: 10
Compression:
Stored size: 465 Bytes
Contents
module YARD::Templates::Helpers module BaseHelper def format_object_title(object) if object.is_a?(YARD::CodeObjects::Cucumber::NamespaceObject) "#{format_object_type(object)}#{object.value ? ": #{object.value}" : ''}" else case object when YARD::CodeObjects::RootObject "Top Level Namespace" else format_object_type(object) + ": " + object.path end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems