Sha256: 8a02fdbb29c890fb0c5fc567b49294f8d5e18588cb3e15fd117f2feec48a2157

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
deg-yard-0.8.7.4 templates/default/method_details/setup.rb
deg-yard-0.8.7.3 templates/default/method_details/setup.rb
deg-yard-0.8.7.1 templates/default/method_details/setup.rb