sass-site/yard/default/method_details/setup.rb

11 lines
219 B
Ruby
Raw Normal View History

2018-03-09 22:28:44 +01:00
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