Sha256: 1c419ee6558aea6f4e607ca1c8747efcddc55844bd75c70f922833b9266fc9a6
Contents?: true
Size: 312 Bytes
Versions: 2
Compression:
Stored size: 312 Bytes
Contents
class MockView attr_accessor :output, :buffer, :level, :escape, :cache_store, :render_style def initialize self.buffer = [] self.output = "" self.level ||= 2 self.escape = true self.render_style = :pretty self.cache_store = Moneta::Memory.new end def render_buffer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
garterbelt-0.0.9 | spec/support/mock_view.rb |
garterbelt-0.0.8 | spec/support/mock_view.rb |