Module: Keyrack::Store

Defined in:
lib/keyrack/store.rb,
lib/keyrack/store/ssh.rb,
lib/keyrack/store/filesystem.rb

Defined Under Namespace

Classes: Filesystem, SSH

Class Method Summary collapse

Class Method Details

.[](name) ⇒ Object



3
4
5
6
7
8
# File 'lib/keyrack/store.rb', line 3

def self.[](name)
  case name
  when :filesystem, 'filesystem' then Filesystem
  when :ssh, 'ssh' then SSH
  end
end