Sha256: 5bc7c6117c154e6d4b6fdf581d5e762ced9e286d0ed325b85d5b4008293bfeee
Contents?: true
Size: 442 Bytes
Versions: 13
Compression:
Stored size: 442 Bytes
Contents
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib' require 'mustache' class DotNotation < Mustache self.path = File.dirname(__FILE__) def person return { :name => OpenStruct.new(:first => 'Chris', :last => 'Firescythe'), :age => 24, :hometown => { :city => "Cincinnati", :state => "OH" } } end def normal "Normal" end end if $0 == __FILE__ puts DotNotation.to_html end
Version data entries
13 entries across 13 versions & 3 rubygems