Sha256: f3c18774a76366c84bca25df95b3e7db8e363038f78dfa9ae668160a3f8f7db2

Contents?: true

Size: 157 Bytes

Versions: 24

Compression:

Stored size: 157 Bytes

Contents

def template(from, to)
  erb = File.read(File.expand_path("../../templates/#{from}", __FILE__))
  upload! StringIO.new(ERB.new(erb).result(binding)), to
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
pixelforce_kit-0.9 lib/pixelforce_kit/recipes/capistrano_recipes/base.rb
pixelforce_kit-4.0.2 lib/pixelforce_kit/recipes/capistrano_recipes/base.rb
pixelforce-kit-4.0.2 lib/pixelforce_kit/recipes/capistrano_recipes/base.rb
pixelforce_recipes-4.0 lib/recipes/capistrano_recipes/base.rb
pixelforce_recipes-3.9.2 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.9.1 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.9 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.8 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.7 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.6 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.5 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.4 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.3 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.2 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.1 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-3.0 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-2.4 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-2.3 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-2.1 lib/pixelforce_recipes/capistrano_3_recipes/base.rb
pixelforce_recipes-2.0 lib/pixelforce_recipes/capistrano_3_recipes/base.rb