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

Version Path
review-retrovert-0.9.11 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.10 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.9 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.8 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.7 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.6 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.5 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.4 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.3 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.2 testdata/mybook/lib/ruby/review-textbuilder.rb
review-retrovert-0.9.1 testdata/mybook/lib/ruby/review-textbuilder.rb