class RsyncConfig::SecretsFile
Attributes
output[RW]
value[RW]
Public Class Methods
new(output, **options)
click to toggle source
# File lib/rsync_config/secrets_file.rb, line 8 def initialize(output, **options) raise "output cannot be nil or empty" if output.nil? || output.empty? self.output = output self.value = options[:value] if options[:value] end
Public Instance Methods
to_s()
click to toggle source
# File lib/rsync_config/secrets_file.rb, line 19 def to_s value end