Class: Xberg::HierarchicalBlock

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHierarchicalBlock

Returns a new instance of HierarchicalBlock.

Parameters:

  • text: (String)
  • font_size: (Float)
  • level: (String)


1688
# File 'sig/types.rbs', line 1688

def initialize: (text: String, font_size: Float, level: String) -> void

Instance Attribute Details

#font_sizeFloat (readonly)

Returns the value of attribute font_size.

Returns:

  • (Float)


1685
1686
1687
# File 'sig/types.rbs', line 1685

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


1686
1687
1688
# File 'sig/types.rbs', line 1686

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1684
1685
1686
# File 'sig/types.rbs', line 1684

def text
  @text
end