Method: Toe::Rdoc#options

Defined in:
lib/toe/rdoc.rb

#optionsObject



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/toe/rdoc.rb', line 13

def options
  opts = []
  
  if output_dir
    opts << '--op'
    opts << output_dir
  end
  
  if cdoc
    opts.concat %w{
      --fmt cdoc 
      --template cdoc/cdoc_html_template
    }
  end
  
  if force
    opts << '--force-update'
  end
  
  opts
end