class Mint::Message::Builder
- Mint::Message::Builder
- Reference
- Object
Defined in:
message.crClass Method Summary
Instance Method Summary
- #block(&)
- #closing_bracket(expression, got)
- #elements : Array(Array(Mint::Message::Bold | Mint::Message::Code | Mint::Message::Text) | Mint::Message::Pre | Mint::Message::Snippet | Mint::Message::StringList | Mint::Message::Title | Mint::Message::Type | Mint::Message::TypeList)
- #list(value, message : String)
- #list(value)
- #opening_bracket(expression, got)
- #pre(value)
- #snippet(value, message : String | Nil = "Here is the relevant code snippet:")
- #title(value)
- #type(value)
- #type_list(value)
-
#type_with_text(item, text : String)
Pre defined blocks
- #was_expecting_type(expected, got)
- #was_looking_for(what, got, code = nil)