Class: Sprinkle::Installers::Rake
- Defined in:
- lib/sprinkle/installers/rake.rb
Overview
Rake Installer
This installer runs a rake command.
Example Usage
The following example runs the command “rake spec” on the remote server.
package :spec do
rake 'spec'
end
Instance Attribute Summary
Attributes inherited from Installer
#delivery, #options, #package, #post, #pre
Attributes included from Configurable
Instance Method Summary collapse
-
#initialize(parent, commands = [], &block) ⇒ Rake
constructor
:nodoc:.
Methods inherited from Installer
Methods included from Configurable
#assert_delivery, #defaults, #method_missing, #option?
Constructor Details
#initialize(parent, commands = [], &block) ⇒ Rake
:nodoc:
17 18 19 20 |
# File 'lib/sprinkle/installers/rake.rb', line 17 def initialize(parent, commands = [], &block) #:nodoc: super parent, &block @commands = commands end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sprinkle::Configurable