Class: Curl::Spawn::Args

Inherits:
Object
  • Object
show all
Defined in:
lib/curl/spawn/args.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeArgs

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

#argvObject

Returns the value of attribute argv.



5
6
7
# File 'lib/curl/spawn/args.rb', line 5

def argv
  @argv
end

#envObject

Returns the value of attribute env.



5
6
7
# File 'lib/curl/spawn/args.rb', line 5

def env
  @env
end

#optObject

Returns the value of attribute opt.



5
6
7
# File 'lib/curl/spawn/args.rb', line 5

def opt
  @opt
end