Method: Qonfig::Settings::KeyGuard#initialize

Defined in:
lib/qonfig/settings/key_guard.rb

#initialize(key) ⇒ KeyGuard

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of KeyGuard.

Parameters:

  • key (String, Symbol, Object)

Since:

  • 0.2.0



30
31
32
# File 'lib/qonfig/settings/key_guard.rb', line 30

def initialize(key)
  @key = key
end