Sha256: 49c4394b3e20e72c280bec6a38fd2a2a471640d156a3c56fc71c2dce585d278f

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 Bytes

Contents

class CliFormat::Presenter
  class Dotenv < Base
    def text
      @buffer << @header.join("=") if @header
      @rows.each do |row|
        @buffer << row.join("=")
      end
      @buffer.join("\n")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cli-format-0.6.1 lib/cli_format/presenter/dotenv.rb
cli-format-0.6.0 lib/cli_format/presenter/dotenv.rb