Ameba::Rule::Lint::Typos::Typo - ameba 1.6.4

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

- Ameba::Rule::Lint::Typos::Typo
- Struct
- Value
- Object

##
Defined in:

ameba/rule/lint/typos.cr

##
Constructors

- .new(typo : String, corrections : Array(String), location : Tuple(Int32, Int32), end_location : Tuple(Int32, Int32))

##
Class Method Summary

- .parse(str) : self | Nil

##
Instance Method Summary

- #clone
- #copy_with(typo _typo = @typo, corrections _corrections = @corrections, location _location = @location, end_location _end_location = @end_location)
- #corrections : Array(String)
- #end_location : Tuple(Int32, Int32)
- #location : Tuple(Int32, Int32)
- #typo : String

##
Constructor Detail

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

##
Class Method Detail

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

##
Instance Method Detail

def clone #
def copy_with(typo _typo = @typo, corrections _corrections = @corrections, location _location = @location, end_location _end_location = @end_location) #
def corrections : Array(String) #
def end_location : Tuple(Int32, Int32) #
def location : Tuple(Int32, Int32) #
def typo : String #