File: escaped.rb

package info (click to toggle)
ruby-mustache 1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 620 kB
  • sloc: ruby: 2,712; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'mustache'

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

  def title
    "Bear > Shark"
  end
end

if $0 == __FILE__
  puts Escaped.to_html
end