Sha256: fadb018e4e234c9f5e34874e3e52b67a6c343a7697c31f44f6db8911c228ad02

Contents?: true

Size: 502 Bytes

Versions: 2

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true

require 'ehbrs/music/album'
require 'ehbrs/runner/fs/selected'

module Ehbrs
  class Runner
    class Music
      class Selected < ::Ehbrs::Runner::Fs::Selected
        protected

        def build_selected_directory(path)
          ::Ehbrs::Music::Album.new(path)
        end

        def directory_label(directory)
          directory.to_label
        end

        def directory_target_basename(directory)
          directory.id
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ehbrs-tools-0.23.0 lib/ehbrs/runner/music/selected.rb
ehbrs-tools-0.22.0 lib/ehbrs/runner/music/selected.rb