Method: Longleaf::FilesystemStorageLocation#initialize

Defined in:
lib/longleaf/models/filesystem_storage_location.rb

#initialize(name, config, md_loc) ⇒ FilesystemStorageLocation

Returns a new instance of FilesystemStorageLocation.

Parameters:

  • the name of this storage location

  • hash containing the configuration options for this location

  • metadata location associated with this storage location



10
11
12
13
# File 'lib/longleaf/models/filesystem_storage_location.rb', line 10

def initialize(name, config, md_loc)
  super(name, config, md_loc)
  @path += File::SEPARATOR unless @path.end_with?(File::SEPARATOR)
end