Class: ActiveAdmin::Views::Pages::Base

Inherits:
Arbre::HTML::Document show all
Defined in:
lib/active_admin/views/pages/base.rb

Direct Known Subclasses

Dashboard, Form, Index, Layout, Page, Show

Instance Attribute Summary

Attributes inherited from Arbre::HTML::Tag

#attributes

Attributes inherited from Arbre::HTML::Element

#children, #parent

Instance Method Summary collapse

Methods inherited from Arbre::HTML::Document

#build_body, #build_head, #doctype, #document, #tag_name, #to_s

Methods inherited from Arbre::HTML::Tag

#add_class, #class_list, #class_names, #get_attribute, #has_attribute?, #id, #id!, #id=, #initialize, #remove_attribute, #remove_class, #set_attribute, #to_s

Methods inherited from Arbre::HTML::Element

#+, #<<, #add_child, #assigns, builder_method, #content, #content=, #document, #each, #get_elements_by_class_name, #get_elements_by_tag_name, #helpers, #html_safe, #indent_level, #initialize, #parent?, #remove_child, #tag_name, #to_ary, #to_s, #to_str

Methods included from Arbre::Builder::BuilderMethods

#append_return_block, #build_tag, #current_dom_context, #insert_tag, #with_current_dom_context

Methods included from Arbre::Builder

#current_dom_context, #helpers, #method_missing

Constructor Details

This class inherits a constructor from Arbre::HTML::Tag

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Arbre::Builder

Instance Method Details

#build(*args) ⇒ Object



6
7
8
9
10
11
# File 'lib/active_admin/views/pages/base.rb', line 6

def build(*args)
  super
  add_classes_to_body
  build_active_admin_head
  build_page
end