Smith::Mentions::Embedded
Inherits Struct < Value < Object
A file or directory that made it into the prompt. path is as written,
so it matches what the user typed.
Constructors
new(path : String, lines : Int32, truncated : Bool = false, media_type : String | Nil = nil, bytes : Int32 | Nil = nil)
SourceInstance methods
bytes
Sourcelines
Sourcemedia?
Sourcemedia_type
Set for an attachment, nil for text and directories. lines says
nothing about a PNG, so the renderers need something else to print.
path
Sourcetruncated?
Source