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.


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

def initialize(format)
  @format = format
end

Instance Attribute Details

#formatObject (readonly)

Returns the value of attribute format


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

def format
  @format
end

Instance Method Details

#bodyObject


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

def body; nil; end