Class: ActionView::AbstractRenderer::RenderedCollection::EmptyCollection
- Inherits:
-
Object
- Object
- ActionView::AbstractRenderer::RenderedCollection::EmptyCollection
- Defined in:
- lib/action_view/renderer/abstract_renderer.rb
Instance Attribute Summary collapse
-
#format ⇒ Object
readonly
Returns the value of attribute format.
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(format) ⇒ EmptyCollection
constructor
A new instance of EmptyCollection.
Constructor Details
#initialize(format) ⇒ EmptyCollection
Returns a new instance of EmptyCollection.
53 54 55 |
# File 'lib/action_view/renderer/abstract_renderer.rb', line 53 def initialize(format) @format = format end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
51 52 53 |
# File 'lib/action_view/renderer/abstract_renderer.rb', line 51 def format @format end |
Instance Method Details
#body ⇒ Object
57 |
# File 'lib/action_view/renderer/abstract_renderer.rb', line 57 def body; nil; end |