Sha256: 89784018582226d13bfc95272867e167f0ac77fc0a327886a60a06de8ea1e078

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

require 'mustache'

class Liberal < Mustache
  self.path = File.dirname(__FILE__)

  def first_name
    "kevin"
  end

  def middle_name!
    'j'
  end

  def lastName?
    'sheurs'
  end

  define_method :'street-address' do
    '123 Somewhere St'
  end
end

if $0 == __FILE__
  puts Liberal.to_html
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
zine_brewer-1.5.0 vendor/bundle/ruby/2.7.0/gems/mustache-1.1.1/test/fixtures/liberal.rb
zine_brewer-1.3.0 vendor/bundle/ruby/2.7.0/gems/mustache-1.1.1/test/fixtures/liberal.rb
mustache-1.1.1 test/fixtures/liberal.rb
mustache-1.1.0 test/fixtures/liberal.rb
mustache-1.0.5 test/fixtures/liberal.rb
mustache-1.0.3 test/fixtures/liberal.rb