Sha256: 8212efcd461757d8c2f6d119af410f53a55a9c9caeda7e80df84161c39bcb9c7

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

module Capistrano
  module Env
    module Formatter
      class RubyFormatter
        def self.file_ext
          'rb'
        end

        def self.format(envs)
          envs.map { |k, v| "ENV[\"#{k}\"] = \"#{v}\"\n" }.join
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-env-0.1.2 lib/capistrano/env/formatter/ruby_formatter.rb
capistrano-env-0.1.1 lib/capistrano/env/formatter/ruby_formatter.rb