Sha256: 08cd3e92265483b122f2d6490cb5ddd893e3bdc2b462af1c049e858e3154b422
Contents?: true
Size: 671 Bytes
Versions: 6
Compression:
Stored size: 671 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/yard' log.level = Logger::DEBUG YARD::Registry.load gclass = eval("YARD::Generators::#{ARGV[0]}") sclass = ARGV[1] == "nil" ? nil : eval("YARD::Serializers::#{ARGV[1]}") obj = ARGV[2] == "all" ? YARD::Registry.all(:module, :class) : P(ARGV[2]) format = ARGV[3].to_sym if sclass sclass = sclass.new else sclass = YARD::Serializers::StdoutSerializer.new(80) end verifier = lambda {|gen, obj| return false if gen.respond_to?(:visibility) && [:protected, :private].include?(gen.visibility) } gclass.new(:format => format, :template => :default, :serializer => sclass, :verifier => verifier).generate(obj)
Version data entries
6 entries across 6 versions & 1 rubygems