class CompassIntegrator::CommandTemplate
Public Class Methods
new(config:, output: $stdout, executor: ::Kernel)
click to toggle source
# File lib/compass_integrator/command_template.rb, line 22 def initialize(config:, output: $stdout, executor: ::Kernel) @config = config @output = output @executor = executor end
Public Instance Methods
run()
click to toggle source
# File lib/compass_integrator/command_template.rb, line 28 def run raise NotImplementedError end
Private Instance Methods
config_file_path()
click to toggle source
# File lib/compass_integrator/command_template.rb, line 34 def config_file_path File.join( Rake.application.original_dir, @config.fetch("project_ui_dir"), @config.fetch("project_config_dir"), @config.fetch("project_compass_config_file") ) end
default_config_file_path()
click to toggle source
# File lib/compass_integrator/command_template.rb, line 43 def default_config_file_path File.join( Gem.datadir("compass_integrator"), "compass_config.rb.default" ) end