Sha256: 117a142f2c681c789c00176c734ce50452a33929af41bb463f17f7c1dee3da63

Contents?: true

Size: 466 Bytes

Versions: 18

Compression:

Stored size: 466 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_console_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

18 entries across 18 versions & 1 rubygems

Version Path
ehbrs-tools-0.20.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.19.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.18.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.17.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.5 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.4 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.3 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.2 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.16.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.15.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.14.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.14.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.13.1 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.13.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.12.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.11.0 lib/ehbrs/videos/series/rename/line_result.rb
ehbrs-tools-0.10.0 lib/ehbrs/videos/series/rename/line_result.rb