Class: ActionView::AbstractRenderer::RenderedCollection::EmptyCollection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ EmptyCollection

Returns a new instance of EmptyCollection.



133
134
135
# File 'lib/action_view/renderer/abstract_renderer.rb', line 133

def initialize(format)
  @format = format
end

Instance Attribute Details

#formatObject (readonly)

Returns the value of attribute format.



131
132
133
# File 'lib/action_view/renderer/abstract_renderer.rb', line 131

def format
  @format
end

Instance Method Details

#bodyObject



137
# File 'lib/action_view/renderer/abstract_renderer.rb', line 137

def body; nil; end