Sha256: e3baf95c2181a1a916148cbd789cf5c34a7ac1494986de04a0aa2deb3c6e07a0
Contents?: true
Size: 259 Bytes
Versions: 44
Compression:
Stored size: 259 Bytes
Contents
module BrowserifyRails::Logger def self.log(message) Rails.logger.debug message puts "\n#{message}\n\n" if in_dummy_rails? end def self.in_dummy_rails? @in_dummy_rails ||= !!Rails.root.to_s.match(/browserify-rails\/test\/dummy$/) end end
Version data entries
44 entries across 44 versions & 1 rubygems