Class: Recot::Tasks::IndexdocTask

Inherits:
BaseTask
  • Object
show all
Defined in:
lib/recot/tasks/indexdoc_task.rb

Overview

Task for update index.html.

Constant Summary collapse

ROOT_DIR =

Path of gem root path.

"#{File.expand_path('../../../../', __FILE__)}".freeze
INDEXDOC_TEMPLATE =

Path of indexdoc template.

"#{ROOT_DIR}/template/index.html.erb".freeze
INDEX_HTML =
'index.html'.freeze

Instance Method Summary collapse

Methods inherited from BaseTask

#initialize

Constructor Details

This class inherits a constructor from Recot::Tasks::BaseTask

Instance Method Details

#run(args = nil) ⇒ Object



19
20
21
# File 'lib/recot/tasks/indexdoc_task.rb', line 19

def run(args = nil)
  generate(args)
end