class

Glimmer::Source::FileSource

Inherits Reference < Object

FileSource reads Markdown content from local files.

Constructors

new(path : String)
Source

Instance methods

name

Returns a human-readable name for this source.

Source
path
Source
path=(path : String)
Source
read

Reads the file content and returns it as a string.

Source
valid?

Returns true if the file exists and is readable.

Source