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.



72
73
74
75
76
77
# File 'lib/ruby_gpg2.rb', line 72

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

Instance Attribute Details

#binaryObject

Returns the value of attribute binary.



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

def binary
  @binary
end

#loggerObject

Returns the value of attribute logger.



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

def logger
  @logger
end

#stderrObject

Returns the value of attribute stderr.



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

def stderr
  @stderr
end

#stdinObject

Returns the value of attribute stdin.



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

def stdin
  @stdin
end

#stdoutObject

Returns the value of attribute stdout.



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

def stdout
  @stdout
end