File: grammars.rb

package info (click to toggle)
ruby-github-linguist 7.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,204 kB
  • sloc: ruby: 1,872; lex: 173; ansic: 35; makefile: 9
file content (10 lines) | stat: -rw-r--r-- 234 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
module Linguist
  module Grammars
    # Get the path to the directory containing the language grammar JSON files.
    #
    # Returns a String.
    def self.path
      File.expand_path("../../../grammars", __FILE__)
    end
  end
end