Sha256: 7dc94b48fd050adba18b329d8d32a14cac97f8f49f712a1b8dbe93ec36409bb5

Contents?: true

Size: 458 Bytes

Versions: 15

Compression:

Stored size: 458 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Ehbrs
  module Videos
    module Series
      module Rename
        class LineResult
          enable_simple_cache
          enable_speaker

          def show(level)
            out(padding_level(level) + line_out + "\n")
          end

          private

          def padding_level(level)
            ('  ' * level.to_i) + '* '
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ehbrs-tools-0.30.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.29.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.28.3 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.28.2 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.28.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.28.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.27.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.26.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.25.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.25.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.24.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.23.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.23.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.22.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.21.0 lib/ehbrs/videos/series/rename/line_result.rb