Sha256: 7a31c67dd5e0eb3e457efc6f91d7b1ac69a7b6d60873c652f0fca64028c8ee1a
Contents?: true
Size: 403 Bytes
Versions: 1
Compression:
Stored size: 403 Bytes
Contents
class Love module Site class << self def create_file title = Love::ThankWords.title_thanks thanks = \ if by_gemname thanks_by_gemname else thanks_by_author end b = binding File.open('./public/love.html', 'w+') do |f| f.write ERB.new(TEMPLATE).result(b) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
share_some_love-0.0.5 | tmp/lib/love/site.rb |