Sha256: e56ffc300c56289518bbbe1e4e33c170de1099615d0db3fe8efd2fcdd43f66fd

Contents?: true

Size: 249 Bytes

Versions: 64

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true
def init
  sections :header, [:method_signature, T('docstring'), :source]
end

def source
  return if owner != object.namespace
  return if Tags::OverloadTag === object
  return if object.source.nil?
  erb(:source)
end

Version data entries

64 entries across 63 versions & 10 rubygems

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