<!DOCTYPE html> <html> <!-- Default style for pretty-print of text files --> <head><title>renshu_ramen2.rb</title> <style type="text/css"> pre {margin-left: 6ex;} pre span {counter-increment: linenum; text-align: right; position: relative;} pre span:before { position: absolute; right: 0px; background: #ddd; text-align: right; padding: 0 0.2ex; width: 5.5ex; margin-right: 0.5ex; content: counter(linenum) ":"; } </style> </head> <body> <p>[[ <a href="?showattc+article_m+73+raw">RAW TEXT</a>(DOWNLOAD here) ]]</p> <pre lang="en"> <span></span>#!/usr/bin/env ruby <span></span># -*- coding: utf-8 -*- <span></span>print "お湯を入れました\n" <span></span>count = 1 <span></span> <span></span>while true <span></span> count = count + 1 <span></span> if count = 5 <span></span> print("いただきまーす!") <span></span> end <span></span>end </pre> </body> </html>