Class: AdLint::Language
- Inherits:
-
Object
- Object
- AdLint::Language
- Defined in:
- lib/adlint/lang.rb
Overview
DESCRIPTION
Programming language.
Defined Under Namespace
Class Method Summary collapse
-
.of(fpath) ⇒ Object
DESCRIPTION Detects programming language of the specified source file.
Class Method Details
.of(fpath) ⇒ Object
DESCRIPTION
Detects programming language of the specified source file.
PARAMETER
- fpath
-
Pathname – File path of the source file.
RETURN VALUE
Language – Object of the derived class of Language class.
50 51 52 53 |
# File 'lib/adlint/lang.rb', line 50 def self.of(fpath) # FIXME: Dummy implementation. C end |