Class: SetUpDevelopment::Registry
- Inherits:
-
Object
- Object
- SetUpDevelopment::Registry
- Defined in:
- lib/set_up_development/registry.rb
Constant Summary collapse
- DEFAULT_REGISTRY =
File.("../../registry", __FILE__).freeze
Class Attribute Summary collapse
-
.installers ⇒ Object
readonly
Returns the value of attribute installers.
Class Method Summary collapse
Class Attribute Details
.installers ⇒ Object (readonly)
Returns the value of attribute installers.
10 11 12 |
# File 'lib/set_up_development/registry.rb', line 10 def installers @installers end |
Class Method Details
.add_installer!(installer_name, check_install_proc, install_proc) ⇒ Object
12 13 14 15 |
# File 'lib/set_up_development/registry.rb', line 12 def add_installer!(installer_name, check_install_proc, install_proc) installer = Installer.new(check_install_proc, install_proc) @installers.merge!({ installer_name => installer }) end |