Class: ActiveAdmin::Views::Columns
- Defined in:
- lib/active_admin/views/components/columns.rb
Instance Method Summary collapse
-
#add_child ⇒ Object
Override add child to set widths.
- #column(*args, &block) ⇒ Object
Methods inherited from Component
Constructor Details
This class inherits a constructor from ActiveAdmin::Component
Instance Method Details
#add_child ⇒ Object
Override add child to set widths
12 13 14 15 |
# File 'lib/active_admin/views/components/columns.rb', line 12 def add_child(*) super calculate_columns! end |
#column(*args, &block) ⇒ Object
7 8 9 |
# File 'lib/active_admin/views/components/columns.rb', line 7 def column(*args, &block) insert_tag Column, *args, &block end |