Sha256: 09f351cd1707df91a7bd633194c867599504b4f212210a7ad59d05cdfd612a96

Contents?: true

Size: 425 Bytes

Versions: 21

Compression:

Stored size: 425 Bytes

Contents

require 'linguist/blob_helper'
require 'linguist/generated'
require 'linguist/heuristics'
require 'linguist/language'
require 'linguist/repository'
require 'linguist/samples'
require 'linguist/shebang'
require 'linguist/version'

class << Linguist
  attr_accessor :instrumenter

  def instrument(*args, &bk)
    if instrumenter
      instrumenter.instrument(*args, &bk)
    else
      yield if block_given?
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
github-linguist-4.7.3 lib/linguist.rb
github-linguist-4.7.2 lib/linguist.rb
github-linguist-4.7.1 lib/linguist.rb
github-linguist-4.7.0 lib/linguist.rb
github-linguist-4.6.4 lib/linguist.rb
github-linguist-4.6.3 lib/linguist.rb
github-linguist-4.6.0 lib/linguist.rb
github-linguist-4.5.15 lib/linguist.rb
github-linguist-4.5.14 lib/linguist.rb
github-linguist-4.5.13 lib/linguist.rb
github-linguist-4.5.11 lib/linguist.rb
github-linguist-4.5.10 lib/linguist.rb
github-linguist-4.5.9 lib/linguist.rb
github-linguist-4.5.8 lib/linguist.rb
github-linguist-4.5.6 lib/linguist.rb
github-linguist-4.5.5 lib/linguist.rb
github-linguist-4.5.4 lib/linguist.rb
github-linguist-4.5.3 lib/linguist.rb
github-linguist-4.5.2 lib/linguist.rb
github-linguist-4.5.1 lib/linguist.rb