Sha256: e3281694b4319515c37cf6ef5f1fb45ef8915b52a832276f75e74c3b22a0fc20

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

# Note: This file is included in the github-linguist-grammars gem, not the
# github-linguist gem.

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github-linguist-grammars-4.6.3 lib/linguist/grammars.rb
github-linguist-grammars-4.6.0 lib/linguist/grammars.rb