Sha256: 75e3d235aa7a64baafda3d0f07d1bb8f65a23d434d069b81607206299a144de3
Contents?: true
Size: 908 Bytes
Versions: 20
Compression:
Stored size: 908 Bytes
Contents
module Foobara class CommandRegistry class ExposedOrganization foobara_instances_are_namespaces! include TruncatedInspect include IsManifestable attr_accessor :organization_module def initialize(organization_module) self.organization_module = organization_module self.scoped_path = organization_module.scoped_path end # TODO: unable to address types here so it is handled as a hack higher up... def foobara_manifest(to_include:) organization_manifest = organization_module.foobara_manifest(to_include: Set.new) mode = Foobara::Namespace::LookupMode::DIRECT domains = foobara_all_domain(mode:).map(&:foobara_manifest_reference).sort organization_manifest.merge(domains:) end def foobara_manifest_reference organization_module.foobara_manifest_reference end end end end
Version data entries
20 entries across 20 versions & 1 rubygems