Method: SdocAllGenerator#initialize

Defined in:
lib/sdoc_all/generator/sdoc_all/sdoc_all_generator.rb

#initialize(runtime_args, runtime_options = {}) ⇒ SdocAllGenerator

Returns a new instance of SdocAllGenerator.



5
6
7
8
9
10
11
# File 'lib/sdoc_all/generator/sdoc_all/sdoc_all_generator.rb', line 5

def initialize(runtime_args, runtime_options = {})
  super
  usage if args.empty?
  @destination_root = File.expand_path(args.shift)
  @name = base_name
  extract_options
end