Module: Linguist::Grammars
- Defined in:
- lib/linguist/grammars.rb
Class Method Summary collapse
-
.path ⇒ Object
Get the path to the directory containing the language grammar JSON files.
Class Method Details
.path ⇒ Object
Get the path to the directory containing the language grammar JSON files.
Returns a String.
6 7 8 |
# File 'lib/linguist/grammars.rb', line 6 def self.path File.("../../../grammars", __FILE__) end |