Skip to content

Commit 300611b

Browse files
luke-hillbarancev
authored andcommitted
Namespace ExportMappings correctly and mark it as potentially obsolete
1 parent 89b0a80 commit 300611b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
class ExportMappings
2-
def add_all(fun)
3-
fun.add_mapping("export_file", Export::CheckPreconditions.new)
4-
fun.add_mapping("export_file", Export::CreateTask.new)
5-
fun.add_mapping("export_file", Export::AddDependencies.new)
1+
module CrazyFun
2+
module Mappings
3+
class ExportMappings
4+
# TODO: LH - Check the usage of this. It seems it isn't consumed
5+
# If so all downstream fun mappings (Export::), can be removed
6+
def add_all(fun)
7+
fun.add_mapping("export_file", Export::CheckPreconditions.new)
8+
fun.add_mapping("export_file", Export::CreateTask.new)
9+
fun.add_mapping("export_file", Export::AddDependencies.new)
10+
end
11+
end
612
end
713
end

0 commit comments

Comments
 (0)