lib/synx/pbx_group.rb in synx-0.0.4 vs lib/synx/pbx_group.rb in synx-0.0.5
- old
+ new
@@ -122,9 +122,20 @@
Synx::Tabber.puts "#{file.basename} (removed duplicate reference)".red
end
end
private :squash_duplicate_file_references
+ def groups_containing_forward_slash
+ found_groups = []
+ groups.each do |group|
+ unless group.excluded_from_sync?
+ found_groups << group if group.basename.include?("/")
+ found_groups |= group.groups_containing_forward_slash
+ end
+ end
+ found_groups
+ end
+
end
end
end
end
\ No newline at end of file