Sha256: 24d51587d1fb9945db527620c1bf555a56488d6adbb30eb2641dcd54541ac824
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
require 'rake/tasklib' def expandtemplatestask(name=:expandtemplates, *args, &block) Albacore::ExpandTemplatesTask.new(name, *args, &block) end module Albacore class ExpandTemplatesTask < Albacore::AlbacoreTask def execute(task_args) @exp = ExpandTemplates.new @block.call(@exp, *task_args) unless @block.nil? @exp.expand end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | lib/rake/expandtemplatestask.rb |
albacore-0.0.8 | lib/rake/expandtemplatestask.rb |