struct Ameba::Rule::Lint::Typos::Typo

Defined in:

ameba/rule/lint/typos.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(typo : String, corrections : Array(String), location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32)) #

[View source]

Class Method Detail

def self.parse(str) : self | Nil #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(typo _typo = @typo, corrections _corrections = @corrections, location _location = @location, end_location _end_location = @end_location) #

[View source]
def corrections : Array(String) #

def end_location : Tuple(Int32, Int32) #

def location : Tuple(Int32, Int32) #

def typo : String #