Class: Fuji::Renderer
- Inherits:
-
Object
- Object
- Fuji::Renderer
- Defined in:
- lib/fuji/renderer.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(request, options = {}) ⇒ Renderer
constructor
A new instance of Renderer.
- #render ⇒ Object
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, = {} @request = request @options = end |
Class Method Details
.render(request, options = {}) ⇒ Object
4 5 6 |
# File 'lib/fuji/renderer.rb', line 4 def self.render request, = {} self.new(request, ).render end |
Instance Method Details
#render ⇒ Object
13 14 15 |
# File 'lib/fuji/renderer.rb', line 13 def render raise Exception.new("Unimplemented") end |