Sha256: 759add0b6e3326a6d928feead12b46f26899d696be21e4c8f1c19d9f0f9a4884

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

module Lumos
  module Formatters
    class Horizontal < Lumos::Formatters::Base
      def initialize(options = {})
        super
        @padding = options.fetch(:padding, 0).to_i.abs
      end

      def result
        horizontal_result
      end

    private

      def content_paragraph(line)
        line
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lumos-0.0.2 lib/lumos/formatters/horizontal.rb
lumos-0.0.1 lib/lumos/formatters/horizontal.rb