Sha256: c944daa25fec14a4ed69648ea39580333caf08146f8bdb7b81f70c5518488a91

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

# frozen_string_literal: true
module OpenVPNConfigurator
	# Represents a comment to be inserted into the configuration file
	class Comment
		def initialize(message)
			@message = message
		end


		def to_s
			"#{@message.gsub("\n", ' ')}"
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openvpn_configurator-1.1.1 lib/openvpn_configurator/comment.rb
openvpn_configurator-1.1.0 lib/openvpn_configurator/comment.rb