google-api-ruby-client/yard/templates/default/method_details/setup.rb

9 lines
220 B
Ruby
Raw Normal View History

lib_dir = File.expand_path(File.join(File.dirname(__FILE__), '../../../lib'))
$LOAD_PATH.unshift(lib_dir)
$LOAD_PATH.uniq!
require 'yard-google-code'
def init
sections :header, [:method_signature, T('docstring')]
end