Sha256: aa55e6a0595b2979efa5be70869fd219bd88bac6693338b23fb3c42b36f3c7d5

Contents?: true

Size: 318 Bytes

Versions: 2

Compression:

Stored size: 318 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.1.1 spec/support/mock_view.rb
garterbelt-0.1.0 spec/support/mock_view.rb