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)


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

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)


1659
1660
1661
# File 'sig/types.rbs', line 1659

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


1660
1661
1662
# File 'sig/types.rbs', line 1660

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1658
1659
1660
# File 'sig/types.rbs', line 1658

def text
  @text
end