Sha256: 3269b013d94503436c42460ab638c7a846a561697a93eb1979a196c771bc53de

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

class MockView
  attr_accessor :output, :buffer, :level, :escape, :cache_store
  
  def initialize
    self.buffer = []
    self.output = ""
    self.level ||= 2
    self.escape = true
    self.cache_store = Moneta::Memory.new
  end
  
  def render_buffer
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
garterbelt-0.0.7 spec/support/mock_view.rb
garterbelt-0.0.6 spec/support/mock_view.rb
garterbelt-0.0.5 spec/support/mock_view.rb
garterbelt-0.0.4 spec/support/mock_view.rb
garterbelt-0.0.3 spec/support/mock_view.rb
garterbelt-0.0.2 spec/support/mock_view.rb