Method: YARD::CLI::Gems#run

Defined in:
lib/yard/cli/gems.rb

#run(*args) ⇒ void

This method returns an undefined value.

Runs the commandline utility, parsing arguments and generating YARD indexes for gems.

Parameters:

Since:

  • 0.6.0



17
18
19
20
21
# File 'lib/yard/cli/gems.rb', line 17

def run(*args)
  require 'rubygems'
  optparse(*args)
  build_gems
end