Sha256: be394008c5fcc97a69e6b27ce1b5288507d7b347a0797107ddd3594fed3c48f4
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
require 'yard' module Helpers module Examples EXAMPLES_DIR = File.expand_path(File.join(File.dirname(__FILE__),'examples')) def parse_file(file,thisfile=__FILE__) YARD::Registry.clear path = File.join(Helpers::Examples::EXAMPLES_DIR, "#{file}.rb.txt") YARD::Parser::SourceParser.parse(path) end def yard(name) YARD::Registry.at(name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yard-contextify-0.1.0 | spec/helpers/examples.rb |