Class: ActionView::AbstractRenderer::RenderedCollection::EmptyCollection
- Defined in:
- actionview/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.
133 134 135 |
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 133 def initialize(format) @format = format end |
Instance Attribute Details
#format ⇒ Object (readonly)
Returns the value of attribute format.
131 132 133 |
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 131 def format @format end |
Instance Method Details
#body ⇒ Object
137 |
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 137 def body; nil; end |