Class: Mayaml::MuttConfigsDefaultAccount::Handler

Inherits:
Object
  • Object
show all
Includes:
Mainapp::Component
Defined in:
lib/mayaml/mutt_configs_default_account/handler.rb

Instance Method Summary collapse

Instance Method Details

#execute(data, prefix_path) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/mayaml/mutt_configs_default_account/handler.rb', line 11

def execute(data, prefix_path)
   = (data) || (data)
  return [] unless 
  src = link_path(prefix_path)
  dest = build_path(prefix_path, )
  [{src => dest}]
end