Sha256: 0d3f5ef6343e19efe5be59e276541eef3e0f56e706c422ed2c530bdc7324e0cd
Contents?: true
Size: 440 Bytes
Versions: 13
Compression:
Stored size: 440 Bytes
Contents
module Support module Helpers def tm_inspect(label = nil, &block) content = yield content = content.inspect unless content.is_a? String if $0 =~ /textmate-command/ puts %Q|#{label ? "<p>inspecting: #{label}</p><hr />" : ""}<code>#{CGI.escapeHTML(content)}</code><hr />| else puts %Q|#{label ? "\ninspecting: #{label}\n" : "\n"}#{'-' * 80}\n#{content}\n#{"-" * 80}| end end end end
Version data entries
13 entries across 13 versions & 1 rubygems