module Linguist::Grammars
Public Class Methods
path()
click to toggle source
Get the path to the directory containing the language grammar JSON files.
Returns a String.
# File lib/linguist/grammars.rb, line 6 def self.path File.expand_path("../../../grammars", __FILE__) end