Sha256: e60cf989ede488b099b1d53e079bc43fc9cf2ee5326c39c5f2ed34f5ba8d9225

Contents?: true

Size: 458 Bytes

Versions: 4

Compression:

Stored size: 458 Bytes

Contents

#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../lib/yard'

YARD::Registry.load

if ARGV[0] == '-T' || ARGV[0] == '--no-pager'
  output = YARD::Serializers::StdoutSerializer.new
  ARGV.shift
else
  output = YARD::Serializers::ProcessSerializer.new('less')
end

object = YARD::Registry.at(ARGV[0])
options = {
  :format => :text, 
  :template => :default, 
  :serializer => output
}

YARD::Generators::QuickDocGenerator.new(options).generate(object)

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
lsegal-yard-0.2.3.5 bin/yri
yard-0.2.3.5 bin/yri
yard-0.2.3.4 bin/yri
yard-0.2.3.3 bin/yri