Sha256: eef5c356556806b9af6ccdde052bdd3299c061387c7937149ded24c139da65fe

Contents?: true

Size: 351 Bytes

Versions: 6

Compression:

Stored size: 351 Bytes

Contents

require "guard/internals/environment"

module Guard
  class Config
    def strict?
      _env.strict?
    end

    def silence_deprecations?
    end

    private

    def _env
      @env ||= _create_env
    end

    def _create_env
      Internals::Environment.new("GUARD").tap do |env|
        env.create_method(:strict?)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
guard-2.10.2 lib/guard/config.rb
guard-2.10.1 lib/guard/config.rb
guard-2.10.0 lib/guard/config.rb
guard-2.9.2 lib/guard/config.rb
guard-2.9.1 lib/guard/config.rb
guard-2.9.0 lib/guard/config.rb