Sha256: 92cc7009b2e613c2e981c2e44e99b6923215b409ce34e45124d899b2cde09d86

Contents?: true

Size: 425 Bytes

Versions: 25

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Ehbrs
  module Videos
    module Series
      module Rename
        class File
          class Options
            common_constructor :options
            delegate :kernel, :confirm, :recursive, :extension, to: :options

            def episode_increment
              options.episode_increment.if_present(0, &:to_i)
            end
          end
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ehbrs-tools-0.30.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.29.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.28.3 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.28.2 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.28.1 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.28.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.27.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.26.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.25.1 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.25.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.24.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.23.1 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.23.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.22.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.21.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.20.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.19.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.18.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.17.0 lib/ehbrs/videos/series/rename/file/options.rb
ehbrs-tools-0.16.5 lib/ehbrs/videos/series/rename/file/options.rb