Sha256: 7a16bdaef708c48ccb23b0858708c1947703eefbfe382cb3c162845de6698db5

Contents?: true

Size: 241 Bytes

Versions: 64

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true
attr_reader :contents

def init
  if object
    type = object.root? ? :module : object.type
    sections :header, [T(type)]
  else
    sections :header, [:contents]
  end
end

def header
  tidy erb(:header)
end

Version data entries

64 entries across 63 versions & 10 rubygems

Version Path
yard-0.9.33 templates/default/layout/dot/setup.rb
yard-0.9.32 templates/default/layout/dot/setup.rb
yard-0.9.31 templates/default/layout/dot/setup.rb
yard-0.9.30 templates/default/layout/dot/setup.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/yard-0.9.28/templates/default/layout/dot/setup.rb
kinetic_sdk-5.0.20 gems/yard-0.9.25/templates/default/layout/dot/setup.rb
yard-0.9.28 templates/default/layout/dot/setup.rb
yard-to_mkdocs-0.1.1 lib/yard/to_mkdocs/default/layout/dot/setup.rb
yard-to_mkdocs-0.1.0 lib/yard/to_mkdocs/default/layout/dot/setup.rb
yard-0.9.27 templates/default/layout/dot/setup.rb
yard-0.9.26 templates/default/layout/dot/setup.rb
qiita_org-0.1.35 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.34 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.33 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.32 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.31 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.30 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.29 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.28 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb
qiita_org-0.1.27 gems/ruby/2.7.0/gems/yard-0.9.25/templates/default/layout/dot/setup.rb