class Sprinkle::Installers::Thor

Thor Installer

This installer runs a thor task.

Example Usage

The following example runs the command “thor spec” on the remote server.

package :spec do
  thor 'spec'
end

Specify a Thorfile with the :thorfile option.

package :spec do
  thor 'spec', :file => "/var/setup/Thorfile"
end

Public Instance Methods

thor(task, options = {}, &block) click to toggle source
# File lib/sprinkle/installers/thor.rb, line 24
def thor(task, options = {}, &block)
  install Thor.new(self, task, options, &block)
end