class Mint::Warning

Included Modules

Defined in:

warning.cr

Constructors

Instance Method Summary

Instance methods inherited from module Mint::Message

block(&)
block(contents : String)
block
, blocks blocks, bold(value : String) bold, code(value : String) code, expected(subject : String, got : String)
expected(subject : TypeChecker::Checkable | String, got : TypeChecker::Checkable)
expected
, locations : Array(SnippetData) locations, name : Symbol name, snippet(value : String, node : SnippetTarget)
snippet(value : SnippetTarget)
snippet
, text(value : String) text, to_terminal(title : String) to_terminal

Constructor Detail

def self.new(name : Symbol) #

[View source]

Instance Method Detail

def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def to_terminal #

[View source]