Method: Corundum::DocumentationTask#define

Defined in:
lib/corundum/documentation-task.rb

#defineObject



41
42
43
44
45
46
47
48
49
50
# File 'lib/corundum/documentation-task.rb', line 41

def define
  directory target_dir.abspath

  in_namespace do
    desc "Open up a browser to view your documentation"
    BrowserTask.define_task(self) do |t|
      t.index_html = entry_point
    end
  end
end