Exception: Renderful::NoRendererError
- Inherits:
-
StandardError
- Object
- StandardError
- Renderful::NoRendererError
- Defined in:
- lib/renderful/no_renderer_error.rb
Instance Attribute Summary collapse
-
#entry ⇒ Object
readonly
Returns the value of attribute entry.
Instance Method Summary collapse
-
#initialize(entry, *args) ⇒ NoRendererError
constructor
A new instance of NoRendererError.
Constructor Details
#initialize(entry, *args) ⇒ NoRendererError
Returns a new instance of NoRendererError.
7 8 9 10 11 |
# File 'lib/renderful/no_renderer_error.rb', line 7 def initialize(entry, *args) @entry = entry super "Cannot find renderer for content type #{entry.content_type.id}", *args end |
Instance Attribute Details
#entry ⇒ Object (readonly)
Returns the value of attribute entry.
5 6 7 |
# File 'lib/renderful/no_renderer_error.rb', line 5 def entry @entry end |