class Listings::Listing

Overview

Represents a source code file to be syntax-highlighted

Defined in:

listings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source : String, title : String, language : String, content : String) #

[View source]

Instance Method Detail

def content : String #

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

[View source]
def dependencies : Array(String) #

[View source]
def dependencies=(dependencies : Array(String)) #

[View source]
def language : String #

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

[View source]
def source : String #

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

[View source]
def title : String #

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

[View source]