Sha256: 49bb8b25d04df954bbe868f074a48e170fdad5b8f38222cbb014115a5f17b7b9
Contents?: true
Size: 303 Bytes
Versions: 7
Compression:
Stored size: 303 Bytes
Contents
require 'spec_helper' class Rad::MockTemplateContext inherit Rad::Html::BasicHtmlHelper inject workspace: :workspace attr_accessor :output, :capture, :buffer def capture &block block.call end def concat value = nil @buffer ||= "" @buffer << value nil end end
Version data entries
7 entries across 7 versions & 1 rubygems