Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Obelisk::SelectionResult
Inherits
Struct
<
Value
<
Object
Result from lexer selection with score breakdown
Constructors
new
(lexer :
Lexer
, total_score :
Float32
, priority_score :
Float32
, confidence_score :
Float32
, filename_score :
Float32
, mime_type_score :
Float32
, content_score :
Float32
)
Source
Instance methods
confidence_score
Source
content_score
Source
filename_score
Source
lexer
Source
mime_type_score
Source
priority_score
Source
total_score
Source