Sha256: 7b829882597a790200f59de12c62ad31a2e96c6a6aef89bd5728821156ce3aea

Contents?: true

Size: 467 Bytes

Versions: 23

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module EhbrsRubyUtils
  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

23 entries across 23 versions & 1 rubygems

Version Path
ehbrs_ruby_utils-0.33.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.32.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.31.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.30.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.29.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.28.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.27.1 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.27.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.26.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.25.1 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.25.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.24.1 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.24.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.23.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.22.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.21.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.20.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.19.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.18.0 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb
ehbrs_ruby_utils-0.17.3 lib/ehbrs_ruby_utils/videos/series/rename/line_result.rb