Sha256: 04214cac1f5d5774704513e5a33859d70b550b52054063fa4fbb6049a6f439bb

Contents?: true

Size: 219 Bytes

Versions: 91

Compression:

Stored size: 219 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

91 entries across 74 versions & 11 rubygems

Version Path
my_yard-0.0.8 home_my_yard/templates/visualruby/method_details/setup.rb
my_yard-0.0.7 home_my_yard/templates/visualruby/method_details/setup.rb
enumerable-statistics-2.0.7 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.6 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.5 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.3 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.2 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.1 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.0 yard/templates/mathjax/method_details/setup.rb
enumerable-statistics-2.0.0.pre yard/templates/mathjax/method_details/setup.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/templates/default/method_details/setup.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/templates/default/method_details/setup.rb
enumerable-statistics-1.0.1 yard/templates/mathjax/method_details/setup.rb
my_yard-0.0.3 home_my_yard/templates/visualruby/method_details/setup.rb
my_yard-0.0.2 home_my_yard/templates/visualruby/method_details/setup.rb
yard-0.9.5 templates/default/method_details/setup.rb
yard-0.9.4 templates/default/method_details/setup.rb
yard-0.9.3 templates/default/method_details/setup.rb
yard-0.9.2 templates/default/method_details/setup.rb
yard-0.9.1 templates/default/method_details/setup.rb