Class: Fuji::Renderer

Inherits:
Object
  • Object
show all
Defined in:
lib/fuji/renderer.rb

Direct Known Subclasses

Header

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request, options = {}) ⇒ Renderer

Returns a new instance of Renderer.



8
9
10
11
# File 'lib/fuji/renderer.rb', line 8

def initialize request, options = {}
  @request = request
  @options = options
end

Class Method Details

.render(request, options = {}) ⇒ Object



4
5
6
# File 'lib/fuji/renderer.rb', line 4

def self.render request, options = {}
  self.new(request, options).render
end

Instance Method Details

#renderObject

Raises:

  • (Exception)


13
14
15
# File 'lib/fuji/renderer.rb', line 13

def render
  raise Exception.new("Unimplemented")
end