Sha256: 2be789bb67e7a3790c035feea5ef8575f215cd6718696ba1e529c00b68fc50ac
Contents?: true
Size: 388 Bytes
Versions: 9
Compression:
Stored size: 388 Bytes
Contents
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
9 entries across 9 versions & 2 rubygems