Class: Curl::Spawn::Args
- Inherits:
-
Object
- Object
- Curl::Spawn::Args
- Defined in:
- lib/curl/spawn/args.rb
Instance Attribute Summary collapse
-
#argv ⇒ Object
Returns the value of attribute argv.
-
#env ⇒ Object
Returns the value of attribute env.
-
#opt ⇒ Object
Returns the value of attribute opt.
Instance Method Summary collapse
-
#initialize ⇒ Args
constructor
A new instance of Args.
Constructor Details
#initialize ⇒ Args
Returns a new instance of Args.
7 8 9 10 11 |
# File 'lib/curl/spawn/args.rb', line 7 def initialize() @argv = [] @env = {} @opt = {} end |
Instance Attribute Details
#argv ⇒ Object
Returns the value of attribute argv.
5 6 7 |
# File 'lib/curl/spawn/args.rb', line 5 def argv @argv end |
#env ⇒ Object
Returns the value of attribute env.
5 6 7 |
# File 'lib/curl/spawn/args.rb', line 5 def env @env end |
#opt ⇒ Object
Returns the value of attribute opt.
5 6 7 |
# File 'lib/curl/spawn/args.rb', line 5 def opt @opt end |