Class: BrainDamage::View::SinglePageManager::List::Item

Inherits:
Base show all
Defined in:
lib/generators/brain_damage/lib/views/schemas/single_page_manager/list_item.rb

Constant Summary

Constants inherited from Templateable::ViewTemplateable

Templateable::ViewTemplateable::OVERWRITEABLE_HEADER

Instance Attribute Summary

Attributes inherited from Base

#file_name

Attributes inherited from Base::Base

#file_name

Attributes inherited from Templateable::Base

#inner_html, #options, #template_file

Instance Method Summary collapse

Methods inherited from Base

#default_single_page_manager_options, #deletable_guard, #editable_guard, #viewable_guard

Methods inherited from Base::Base

#fields, has_template?, #infer_file_name, #initialize, #is_partial_file_name?, #method_missing, #partialize_file_name, #set_file_and_template_names

Methods inherited from Templateable::ViewTemplateable

overwrite?, #render, skip_overwrite?

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::View::Base::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class BrainDamage::View::Base::Base

Instance Method Details

#item_separatorObject



8
9
10
11
# File 'lib/generators/brain_damage/lib/views/schemas/single_page_manager/list_item.rb', line 8

def item_separator
  return '' if @options[:item_separator] == false
  @options[:item_separator] || '.ui.divider'
end