projects/command/src/concerns/reflection.rb in foobara-0.0.20 vs projects/command/src/concerns/reflection.rb in foobara-0.0.21
- old
+ new
@@ -17,10 +17,10 @@
def reset_all
remove_instance_variable("@all") if instance_variable_defined?("@all")
end
- def foobara_manifest(to_include:)
+ def foobara_manifest(to_include: Set.new)
depends_on = self.depends_on.map do |command_name|
other_command = Foobara::Namespace.global.foobara_lookup!(command_name,
mode: Foobara::Namespace::LookupMode::ABSOLUTE)
to_include << other_command
other_command.foobara_manifest_reference