Class: Xberg::MarkdownCodeBlock
- Inherits:
-
Object
- Object
- Xberg::MarkdownCodeBlock
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#code ⇒ String
readonly
Returns the value of attribute code.
-
#language ⇒ String
readonly
Returns the value of attribute language.
Instance Method Summary collapse
-
#initialize ⇒ MarkdownCodeBlock
constructor
A new instance of MarkdownCodeBlock.
Constructor Details
#initialize ⇒ MarkdownCodeBlock
Returns a new instance of MarkdownCodeBlock.
1567 |
# File 'sig/types.rbs', line 1567
def initialize: (?language: String, ?code: String) -> void
|
Instance Attribute Details
#code ⇒ String (readonly)
Returns the value of attribute code.
1565 1566 1567 |
# File 'sig/types.rbs', line 1565 def code @code end |
#language ⇒ String (readonly)
Returns the value of attribute language.
1564 1565 1566 |
# File 'sig/types.rbs', line 1564 def language @language end |