Sha256: ee4dd85c0752f4efa2e667b6065f9058a4a6522ee5ffd5288c1d8d975b3a56c3
Contents?: true
Size: 523 Bytes
Versions: 11
Compression:
Stored size: 523 Bytes
Contents
# -*- coding: utf-8 -*- ### ### ReVIEW::TEXTBuilderクラスを拡張する ### require 'review/textbuilder' module ReVIEW defined?(TEXTBuilder) or raise "internal error: TEXTBuilder not found." class TEXTBuilder ## ファイル名 def inline_file(str) on_inline_file { escape(str) } end def on_inline_file yield end ## ユーザ入力 def inline_userinput(str) on_inline_input { escape(str) } end def on_inline_userinput yield end end end
Version data entries
11 entries across 11 versions & 1 rubygems