A
aidy.lewis
Hi,
Is it possible to use a hash map during the creation of a new class
instance?
E.g.
Test_Case_1.new(test = {:name => 'case_1'})
If so, what would the syntax be in the class initialisation method
class Test_Case_1
def initialize(test[:name]) ?
Thank You
Aidy
Is it possible to use a hash map during the creation of a new class
instance?
E.g.
Test_Case_1.new(test = {:name => 'case_1'})
If so, what would the syntax be in the class initialisation method
class Test_Case_1
def initialize(test[:name]) ?
Thank You
Aidy