Method: YARD::Templates::Section#inspect

Defined in:
lib/yard/templates/section.rb

#inspectObject

Since:

  • 0.6.0


55
56
57
58
59
# File 'lib/yard/templates/section.rb', line 55

def inspect
  n = name.respond_to?(:path) ? "T('#{name.path}')" : name.inspect
  subsects = empty? ? "" : ", subsections=#{super}"
  "Section(#{n}#{subsects})"
end