Sha256: c658cb40c898e02d6030446d5ff780fcdc9533cee1e132dcca1b16a848de01d7
Contents?: true
Size: 397 Bytes
Versions: 17
Compression:
Stored size: 397 Bytes
Contents
::YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates' class YARD::Nowpunk class << self def parse_github_url_from_git_config File.read(".git/config").match(/url = git:\/\/(.*).git/)[1] end def github_url "http://" + parse_github_url_from_git_config end def github_master github_url + "/tree/master/" end end end
Version data entries
17 entries across 17 versions & 1 rubygems