Class: CliFormat::Presenter::Dotenv
- Defined in:
- lib/cli_format/presenter/dotenv.rb
Instance Attribute Summary
Attributes inherited from Base
#empty_message, #header, #rows
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from CliFormat::Presenter::Base
Instance Method Details
#text ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/cli_format/presenter/dotenv.rb', line 3 def text @buffer << @header.join("=") if @header @rows.each do |row| @buffer << row.join("=") end @buffer.join("\n") end |