Sha256: 1ed5e2c0f0744dab406686f5adfdbcf3fc2e62f2744117bb879986207a1613ba

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

module Bullet
  class <<self
    def enable=(enable)
      @@enable = enable
    end

    def enable?
      class_variables.include?('@@enable') and @@enable == true
    end
  end

  autoload :Association, 'bullet/association'
  autoload :BulletLogger, 'bullet/logger'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flyerhzm-bullet-1.0.0 lib/bullet.rb
flyerhzm-bullet-1.1.0 lib/bullet.rb