Sha256: 6a3d60f47ed6633d434b66bee373a03da86f6b743beb7f2ea7db1fa6b54fc201
Contents?: true
Size: 378 Bytes
Versions: 9
Compression:
Stored size: 378 Bytes
Contents
require 'mustache' class Delimiters < Mustache self.path = File.dirname(__FILE__) def start "It worked the first time." end def middle [ { :item => "And it worked the second time." }, { :item => "As well as the third." } ] end def final "Then, surprisingly, it worked the final time." end end if $0 == __FILE__ puts Delimiters.to_html end
Version data entries
9 entries across 9 versions & 2 rubygems