Sha256: b195182281beb71e4f720b2af9042a177a66b424faa1fa6322735442b6cc7757
Contents?: true
Size: 330 Bytes
Versions: 1
Compression:
Stored size: 330 Bytes
Contents
YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates' url = File.read(".git/config").match(/url = git:\/\/(.*).git/)[1] YARD::Templates::Engine.module_eval do define_method :github_url do "http://" + url end define_method :github_master do github_url + "/tree/master/" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-nowpunk-0.2.4 | lib/yard-nowpunk.rb |