Class: Dry::System::Importer::Item Private

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/system/importer.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace:, container:, import_keys:) ⇒ Item

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Item.



20
21
22
23
24
# File 'lib/dry/system/importer.rb', line 20

def initialize(namespace:, container:, import_keys:)
  @namespace = namespace
  @container = container
  @import_keys = import_keys
end

Instance Attribute Details

#containerObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
# File 'lib/dry/system/importer.rb', line 18

def container
  @container
end

#import_keysObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
# File 'lib/dry/system/importer.rb', line 18

def import_keys
  @import_keys
end

#namespaceObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



18
19
20
# File 'lib/dry/system/importer.rb', line 18

def namespace
  @namespace
end