Class: BrainDamage::View::Display::CollectionList

Inherits:
Base show all
Defined in:
lib/generators/brain_damage/lib/views/displays/collection_list.rb

Instance Attribute Summary

Attributes inherited from Templateable::FieldTemplateable

#partial_html, #type

Attributes inherited from Templateable::Base

#inner_html, #options, #template_file

Instance Method Summary collapse

Methods inherited from Base

#dir

Methods inherited from Templateable::FieldTemplateable

#empty_haml_path, #initialize, #label_guard?, #method_missing, #render, #show?, #show_label?

Methods inherited from Templateable::Base

#indent, #initialize, #method_missing, #render, #render_erb_file, #render_erb_string, #render_template_file

Constructor Details

This class inherits a constructor from BrainDamage::Templateable::FieldTemplateable

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BrainDamage::Templateable::FieldTemplateable

Instance Method Details

#collapsible?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/generators/brain_damage/lib/views/displays/collection_list.rb', line 16

def collapsible?
  true
end

#display_classObject



12
13
14
# File 'lib/generators/brain_damage/lib/views/displays/collection_list.rb', line 12

def display_class
  ''
end

#item_classObject



8
9
10
# File 'lib/generators/brain_damage/lib/views/displays/collection_list.rb', line 8

def item_class
  false
end