Class: FormForms::FormRegistry
- Inherits:
-
Object
- Object
- FormForms::FormRegistry
- Defined in:
- lib/form_forms/form_registry.rb
Class Method Summary collapse
Class Method Details
.[](name) ⇒ Object
4 5 6 |
# File 'lib/form_forms/form_registry.rb', line 4 def [](name) forms[name.to_sym] end |
.[]=(name, form) ⇒ Object
8 9 10 |
# File 'lib/form_forms/form_registry.rb', line 8 def []=(name, form) forms[name.to_sym] = form end |
.delete(name) ⇒ Object
12 13 14 |
# File 'lib/form_forms/form_registry.rb', line 12 def delete(name) forms.delete(name.to_sym) end |
.keys ⇒ Object
16 17 18 |
# File 'lib/form_forms/form_registry.rb', line 16 def keys forms.keys end |