Method: Doc::BaseTask#control_files_exist?

Defined in:
lib/doc/base_task.rb

#control_files_exist?Boolean

Returns:

  • (Boolean)


50
51
52
53
54
# File 'lib/doc/base_task.rb', line 50

def control_files_exist?
  %w[created.rid index.html].all? do |name|
    (doc_dir / name).exist?
  end
end