Class: Plutonium::Definition::FormLayout::ResolvedSection

Inherits:
Struct
  • Object
show all
Defined in:
lib/plutonium/definition/form_layout.rb

Overview

A section paired with the concrete fields it will render (after policy filtering). Produced by #resolve_form_sections (a later task).

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



34
35
36
# File 'lib/plutonium/definition/form_layout.rb', line 34

def fields
  @fields
end

#sectionObject

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



34
35
36
# File 'lib/plutonium/definition/form_layout.rb', line 34

def section
  @section
end