sass-site/yard/default/method_details/setup.rb
2018-03-09 13:40:08 -08:00

11 lines
219 B
Ruby

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