Class: Mayaml::MuttConfigsInit::Handler
- Inherits:
-
Object
- Object
- Mayaml::MuttConfigsInit::Handler
- Includes:
- Mainapp::Component
- Defined in:
- lib/mayaml/mutt_configs_init/handler.rb
Instance Method Summary collapse
Instance Method Details
#execute(data, prefix_path) ⇒ Object
11 12 13 14 15 |
# File 'lib/mayaml/mutt_configs_init/handler.rb', line 11 def execute(data, prefix_path) key = build_path(prefix_path) view = compute_config data, prefix_path [{key => view}] end |