Class: TestML::Call

Inherits:
Object
  • Object
show all
Defined in:
lib/testml/runtime.rb

Overview


Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, args = []) ⇒ Call

Returns a new instance of Call.



341
342
343
344
# File 'lib/testml/runtime.rb', line 341

def initialize(name, args=[])
  @name = name
  @args = args if !args.empty?
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



339
340
341
# File 'lib/testml/runtime.rb', line 339

def args
  @args
end

#nameObject

Returns the value of attribute name.



338
339
340
# File 'lib/testml/runtime.rb', line 338

def name
  @name
end