Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gsub
0.1.0
Gsub
Config
InvalidError
FileList
Runner
Scanner
Changeset
Matchset
View
Built with Crystal 1.9.2
2023-10-07 20:23:34 UTC
struct
Gsub::Scanner
Gsub::Scanner
Struct
Value
Object
Defined in:
gsub/scanner.cr
Constructors
.new
(pattern : Regex, lines : Array(String) =
[]
of
String
)
Class Method Summary
.read
(pattern, path)
Instance Method Summary
#commit
(filename, changeset : Changeset)
#compile
(replacement, matches : Matchset)
#scan
Constructor Detail
def self.
new
(pattern : Regex, lines : Array(String) =
[]
of
String
)
#
[
View source
]
Class Method Detail
def self.
read
(pattern, path)
#
[
View source
]
Instance Method Detail
def
commit
(filename, changeset :
Changeset
)
#
[
View source
]
def
compile
(replacement, matches :
Matchset
)
#
[
View source
]
def
scan
#
[
View source
]