Module: Testin

Defined in:
lib/testin.rb,
lib/testin/version.rb

Defined Under Namespace

Classes: Error, Network, Task, TestinNetwork

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.get_taskObject



10
11
12
13
14
15
16
17
# File 'lib/testin.rb', line 10

def Testin.get_task
  if @dynamic_param != nil
    return @dynamic_param
  end
  @dynamic_param = Testin::Task.new($global_options)
  @dynamic_param.set_up
  @dynamic_param
end

.set_task(options) ⇒ Object



19
20
21
22
# File 'lib/testin.rb', line 19

def Testin.set_task options
  $global_options = options
  Testin.get_task
end