Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _buf = [] ; _buf << ("<!DOCTYPE html><body><head><title>Simple Benchmark</title></head><body><h1>"\
- ""\
- ""\
- ""\
- ""\
- ""\
- "#{header}"\
- "</h1>") ; unless item.empty? ;
- ; _buf << ("<ul>") ;
- ; for i in item ;
- ; if i[:current] ;
- ; _buf << ("<li><strong>"\
- "#{i[:name]}"\
- "</strong></li>") ; else ;
- ; _buf << ("<li><a href=\""\
- "#{Slim::Helpers.escape_html((i[:url]))}\">#{i[:name]}"\
- "</a></li>") ; end ; end ; _buf << ("</ul>") ; else ;
- ; _buf << ("<p>The list is empty.</p>") ;
- ; end ; _buf << ("</body></body>") ; _buf = _buf.join
Add Comment
Please, Sign In to add comment