Sha256: 69f5fa50d9e8efccc94f653cdb9021513356c390d733598ca9884a4346570635

Contents?: true

Size: 235 Bytes

Versions: 7

Compression:

Stored size: 235 Bytes

Contents

def init
  super
  sections :header, [:method_signature, T('docstring'), :source, :specs]
end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gooddata-0.6.6 doc/templates/default/method_details/setup.rb
gooddata-0.6.5 doc/templates/default/method_details/setup.rb
gooddata-0.6.4 doc/templates/default/method_details/setup.rb
gooddata-0.6.3 doc/templates/default/method_details/setup.rb
gooddata-0.6.2 doc/templates/default/method_details/setup.rb
gooddata-0.6.0 doc/templates/default/method_details/setup.rb
gooddata-0.6.0.pre11 doc/templates/default/method_details/setup.rb