Class: Corundum::BrowserTask

Inherits:
Mattock::Rake::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
12
# File 'lib/corundum/browser-task.rb', line 9

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

#resolve_configurationObject



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

def resolve_configuration
  super
  self.command = cmd(browser, index_html)
end

#task_argsObject



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

def task_args
  [{task_name => index_html}]
end