Class: PlaceholderSlice

Inherits:
Slice
  • Object
show all
Defined in:
app/models/placeholder_slice.rb

Instance Attribute Summary

Attributes inherited from Slice

#current_page, #renderer

Instance Method Summary collapse

Methods inherited from Slice

#as_json, #client_id?, #id_or_client_id, #normal_or_set_page, #prepare, #reference, restricted?, restricted_slice, #search_text, #setup, #template_path, #to_delete?, #type

Methods included from Slices::PositionHelper

#alone_in_adjacent_of_type?, #alone_in_container?, #first_adjacent_of_type?, #first_in_container?, #last_adjacent_of_type?, #last_in_container?, #next_slice, #peers, #position_in_adjacent_of_type, #position_in_container, #previous_slice

Instance Method Details

#renderObject



4
5
6
# File 'app/models/placeholder_slice.rb', line 4

def render
  renderer.render_container(self.container, current_page.ordered_slices)
end