class TOML::CommentLine

Overview

A line that is only a comment, e.g. # hello\n.

#raw is the full line including any leading whitespace, the # comment text, and the trailing line terminator (\n or \r\n). The terminator may be empty if the comment was the very last line of the file with no final newline.

Defined in:

toml/node.cr

Constructors

Instance Method Summary

Instance methods inherited from class TOML::Node

to_toml(io : IO) : Nil
to_toml : String
to_toml

Constructor Detail

def self.new(raw : String) #

[View source]

Instance Method Detail

def raw : String #

[View source]
def raw=(raw : String) #

[View source]
def to_toml(io : IO) : Nil #

[View source]