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