Class: LowLoad::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/metadata.rb

Constant Summary collapse

EXTENSIONS =
[
  *::LowLoad::MarkdownAdapter::EXTENSIONS,
  *::LowLoad::RBXAdapter::EXTENSIONS,
  *::LowLoad::RubyAdapter::EXTENSIONS
].freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loaded_paths:, missed_paths:, file_types:) ⇒ Metadata

Returns a new instance of Metadata.



15
16
17
18
19
# File 'lib/metadata.rb', line 15

def initialize(loaded_paths:, missed_paths:, file_types:)
  @loaded_paths = loaded_paths
  @missed_paths = missed_paths
  @file_types = file_types
end

Instance Attribute Details

#file_typesObject

Returns the value of attribute file_types.



13
14
15
# File 'lib/metadata.rb', line 13

def file_types
  @file_types
end

#loaded_pathsObject

Returns the value of attribute loaded_paths.



13
14
15
# File 'lib/metadata.rb', line 13

def loaded_paths
  @loaded_paths
end

#missed_pathsObject

Returns the value of attribute missed_paths.



13
14
15
# File 'lib/metadata.rb', line 13

def missed_paths
  @missed_paths
end