class
Crst::Code
- Crst::Code
- Crst::Node
- Reference
- Object
Overview
Inline code node
Represents code or literal text that should be displayed verbatim.
Created from RST using double backticks: code
Example:
# RST: "Use the ``puts`` method"
code = Crst::Code.new("puts")
code.text # => "puts"
Defined in:
crst/nodes.crConstructors
Instance Method Summary
-
#text : String
The code text content
-
#text=(text : String)
The code text content