Method: Arver::Keystore.for

Defined in:
lib/arver/keystore.rb

.for(username) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/arver/keystore.rb', line 4

def for( username )
  if username.empty?
    Log.error("no user given, cannot create keystore")
    return
  end
  @@keystores           ||= {}
  @@keystores[username] ||= Keystore.new( username )
end