class Linguist::LangRule
- Linguist::LangRule
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
heuristics.crConstructors
Instance Method Summary
- #and : Array(LangRule) | Nil
- #and=(and : Array(LangRule) | Nil)
- #language : String | Array(String) | Nil
- #language=(language : String | Array(String) | Nil)
-
#match(content, named_patterns)
ameba:disable Metrics/CyclomaticComplexity
- #named_pattern : String | Nil
- #named_pattern=(named_pattern : String | Nil)
- #negative_pattern : String | Array(String) | Nil
- #negative_pattern=(negative_pattern : String | Array(String) | Nil)
- #pattern : String | Array(String) | Nil
- #pattern=(pattern : String | Array(String) | Nil)