Class: RubyGPG2::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_gpg2.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



70
71
72
73
74
75
# File 'lib/ruby_gpg2.rb', line 70

def initialize
  @binary = 'gpg'
  @stdin = ''
  @stdout = $stdout
  @stderr = $stderr
end

Instance Attribute Details

#binaryObject

Returns the value of attribute binary.



68
69
70
# File 'lib/ruby_gpg2.rb', line 68

def binary
  @binary
end

#loggerObject

Returns the value of attribute logger.



68
69
70
# File 'lib/ruby_gpg2.rb', line 68

def logger
  @logger
end

#stderrObject

Returns the value of attribute stderr.



68
69
70
# File 'lib/ruby_gpg2.rb', line 68

def stderr
  @stderr
end

#stdinObject

Returns the value of attribute stdin.



68
69
70
# File 'lib/ruby_gpg2.rb', line 68

def stdin
  @stdin
end

#stdoutObject

Returns the value of attribute stdout.



68
69
70
# File 'lib/ruby_gpg2.rb', line 68

def stdout
  @stdout
end