Sha256: 1347f7c52797b5539396a5a7552e28300a4e2a6dda2082d4f147666e62c75c63

Contents?: true

Size: 333 Bytes

Versions: 15

Compression:

Stored size: 333 Bytes

Contents

module BulletTrain
  class Configuration
    include Singleton
    attr_accessor :strong_passwords

    @@config = nil

    def initialize
      @@config = self

      # Default values
      @strong_passwords = true
    end

    class << self
      def strong_passwords
        @@config&.strong_passwords
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bullet_train-1.3.14 lib/bullet_train/configuration.rb
bullet_train-1.3.13 lib/bullet_train/configuration.rb
bullet_train-1.3.12 lib/bullet_train/configuration.rb
bullet_train-1.3.11 lib/bullet_train/configuration.rb
bullet_train-1.3.10 lib/bullet_train/configuration.rb
bullet_train-1.3.9 lib/bullet_train/configuration.rb
bullet_train-1.3.8 lib/bullet_train/configuration.rb
bullet_train-1.3.7 lib/bullet_train/configuration.rb
bullet_train-1.3.6 lib/bullet_train/configuration.rb
bullet_train-1.3.5 lib/bullet_train/configuration.rb
bullet_train-1.3.4 lib/bullet_train/configuration.rb
bullet_train-1.3.3 lib/bullet_train/configuration.rb
bullet_train-1.3.2 lib/bullet_train/configuration.rb
bullet_train-1.3.1 lib/bullet_train/configuration.rb
bullet_train-1.3.0 lib/bullet_train/configuration.rb