Class: Xberg::MarkdownCodeBlock

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMarkdownCodeBlock

Returns a new instance of MarkdownCodeBlock.

Parameters:

  • language: (String)
  • code: (String)


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

def initialize: (?language: String, ?code: String) -> void

Instance Attribute Details

#codeString (readonly)

Returns the value of attribute code.

Returns:

  • (String)


1565
1566
1567
# File 'sig/types.rbs', line 1565

def code
  @code
end

#languageString (readonly)

Returns the value of attribute language.

Returns:

  • (String)


1564
1565
1566
# File 'sig/types.rbs', line 1564

def language
  @language
end