module Ngannotate

Public Class Methods

sprockets_v2?() click to toggle source
# File lib/ngannotate.rb, line 2
def self.sprockets_v2?
  gem = Gem.loaded_specs['sprockets']
  !(gem.version.to_s =~ /\A2\..*\z/).nil?
end