Sha256: 055291d3987ef7dec2252a53ec06c0ed4f5e260472738e867d7b7cfbff3d919e

Contents?: true

Size: 203 Bytes

Versions: 4

Compression:

Stored size: 203 Bytes

Contents

#!/usr/bin/env ruby

require "pione"
require "erb"

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pione-0.3.0 example/ScoreAggregation/bin/apply-template.rb
pione-0.2.2 example/ScoreAggregation/bin/apply-template.rb
pione-0.2.1 example/ScoreAggregation/bin/apply-template.rb
pione-0.2.0 example/ScoreAggregation/bin/apply-template.rb