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

Inherits:
Object
  • Object
show all
Defined in:
actionview/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.



53
54
55
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 53

def initialize(format)
  @format = format
end

Instance Attribute Details

#formatObject (readonly)

Returns the value of attribute format



51
52
53
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 51

def format
  @format
end

Instance Method Details

#bodyObject



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

def body; nil; end