Class: RubyGPG2::Configuration
- Inherits:
-
Object
- Object
- RubyGPG2::Configuration
- Defined in:
- lib/ruby_gpg2.rb
Instance Attribute Summary collapse
-
#binary ⇒ Object
Returns the value of attribute binary.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdin ⇒ Object
Returns the value of attribute stdin.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#binary ⇒ Object
Returns the value of attribute binary.
70 71 72 |
# File 'lib/ruby_gpg2.rb', line 70 def binary @binary end |
#logger ⇒ Object
Returns the value of attribute logger.
70 71 72 |
# File 'lib/ruby_gpg2.rb', line 70 def logger @logger end |
#stderr ⇒ Object
Returns the value of attribute stderr.
70 71 72 |
# File 'lib/ruby_gpg2.rb', line 70 def stderr @stderr end |
#stdin ⇒ Object
Returns the value of attribute stdin.
70 71 72 |
# File 'lib/ruby_gpg2.rb', line 70 def stdin @stdin end |
#stdout ⇒ Object
Returns the value of attribute stdout.
70 71 72 |
# File 'lib/ruby_gpg2.rb', line 70 def stdout @stdout end |