Class: Interphase::Helpers::LayoutDescription

Inherits:
Struct
  • Object
show all
Defined in:
lib/interphase/helpers/layout_parser.rb

Overview

A description of a Layout.

rows

The number of rows required by the Grid housing the Layout.

columns

The number of columns required by the Grid housing the Layout.

widgets

A hash of names to LayoutPlacement objects for child widgets.

Instance Attribute Summary collapse

Instance Attribute Details

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns


11
12
13
# File 'lib/interphase/helpers/layout_parser.rb', line 11

def columns
  @columns
end

#rowsObject

Returns the value of attribute rows

Returns:

  • (Object)

    the current value of rows


11
12
13
# File 'lib/interphase/helpers/layout_parser.rb', line 11

def rows
  @rows
end

#widgetsObject

Returns the value of attribute widgets

Returns:

  • (Object)

    the current value of widgets


11
12
13
# File 'lib/interphase/helpers/layout_parser.rb', line 11

def widgets
  @widgets
end