Class | GnomeSSHMenu::Factory |
In: |
lib/gnome-sshmenu.rb
(Git)
|
Parent: | SSHMenu::Factory |
The GnomeSSHMenu::Factory class overrides the SSHMenu::Factory class to provide alternate class mappings.
Sets the default mapping for ‘app’ to GnomeSSHMenu::App.
# File lib/gnome-sshmenu.rb, line 42 def Factory.inject_defaults mapper.inject('app' => GnomeSSHMenu::App) super end
Sets the default mapping for ‘app.model’ to GnomeSSHMenu::Config.
# File lib/gnome-sshmenu.rb, line 34 def Factory.option_defaults return super.merge( :model_class => GnomeSSHMenu::Config ) end