Class: Arxiv::Downloader::Path

Inherits:
Object
  • Object
show all
Defined in:
lib/arxiv/downloader/path.rb

Instance Method Summary collapse

Constructor Details

#initialize(metadata) ⇒ Path

Returns a new instance of Path.



4
5
6
# File 'lib/arxiv/downloader/path.rb', line 4

def initialize 
  @metadata = 
end

Instance Method Details

#to_sObject



8
9
10
# File 'lib/arxiv/downloader/path.rb', line 8

def to_s
  [date_dir, category, "#{filesystem_safe_id}-#{slug}"].join '/'
end