Sha256: 16528465c6b6b70ee5f64147d0d40b6f4fb2d1ae3acce66bc04d3189d22b6c3e
Contents?: true
Size: 543 Bytes
Versions: 56
Compression:
Stored size: 543 Bytes
Contents
# -*- coding: utf-8 -*- # # Copyright 2013 whiteleaf. All rights reserved. # require_relative "../helper" module Helper module_function class << self alias :original_print_horizontal_rule :print_horizontal_rule end def print_horizontal_rule # タグがキャプチャーされると困るので、キャプチャ専用の出力とWEBへの出力は分ける if $stdout.capturing $stdout.silence do original_print_horizontal_rule end end $stdout.push_server.send_all(echo: "<hr>") end end
Version data entries
56 entries across 56 versions & 1 rubygems