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)


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

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)


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

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


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

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


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

def text
  @text
end