Sha256: 3a7f395b8e0f39227963fb1c3c42c042b59fb044b48d17d37a4823f3245a1a74

Contents?: true

Size: 210 Bytes

Versions: 8

Compression:

Stored size: 210 Bytes

Contents

#!/usr/bin/env ruby

require "pione"
require "erb"

title    = Pione.val "$*"
content  = Pione::Location[Pione.val("$I[1]")].read
template = Pione.val "$I[2]"

puts ERB.new(File.read(template)).result(binding)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pione-0.5.0 example/ScoreAggregation/bin/apply-template.rb
pione-0.5.0.alpha.2 example/ScoreAggregation/bin/apply-template.rb
pione-0.5.0.alpha.1 example/ScoreAggregation/bin/apply-template.rb
pione-0.4.2 example/ScoreAggregation/bin/apply-template.rb
pione-0.4.1 example/ScoreAggregation/bin/apply-template.rb
pione-0.4.0 example/ScoreAggregation/bin/apply-template.rb
pione-0.3.2 example/ScoreAggregation/bin/apply-template.rb
pione-0.3.1 example/ScoreAggregation/bin/apply-template.rb