Class: Corundum::BrowserTask

Inherits:
Mattock::CommandTask
  • Object
show all
Defined in:
lib/corundum/browser-task.rb

Instance Method Summary collapse

Instance Method Details

#default_configuration(parent) ⇒ Object



9
10
11
# File 'lib/corundum/browser-task.rb', line 9

def default_configuration(parent)
  self.browser = parent.browser
end

#resolve_configurationObject



17
18
19
# File 'lib/corundum/browser-task.rb', line 17

def resolve_configuration
  self.command = Mattock::CommandLine.new(browser, index_html)
end

#task_argsObject



13
14
15
# File 'lib/corundum/browser-task.rb', line 13

def task_args
  [{task_name => index_html}]
end