Sha256: 329c67f42e599cc76d048c9ed6d27a8c7ffa77b91d7bd876d67901bd1abe2ea5
Contents?: true
Size: 472 Bytes
Versions: 20
Compression:
Stored size: 472 Bytes
Contents
require 'mattock/command-task' module Corundum class BrowserTask < Mattock::Rake::CommandTask setting(:browser, "chromium") setting(:index_html) setting(:task_name, "view") def default_configuration(parent) super self.browser = parent.browser end def task_args [{task_name => index_html}] end def resolve_configuration super self.command = Mattock::CommandLine.new(browser, index_html) end end end
Version data entries
20 entries across 20 versions & 1 rubygems