Class: TdlSimTest::SdlHashTestDefSuger

Inherits:
Object
  • Object
show all
Defined in:
lib/tdl/exlib/sdlmodule_sim.bak.rb

Instance Method Summary collapse

Constructor Details

#initialize(value_default: {}) ⇒ SdlHashTestDefSuger

Returns a new instance of SdlHashTestDefSuger.



315
316
317
# File 'lib/tdl/exlib/sdlmodule_sim.bak.rb', line 315

def initialize(value_default: {})
    @value_default = value_default
end

Instance Method Details

#-(name) ⇒ Object



319
320
321
322
323
324
325
326
# File 'lib/tdl/exlib/sdlmodule_sim.bak.rb', line 319

def -(name)
    rel = TdlSimTest::TdlHashTestUnit.new(name: name,value_default: @value_default, sim_target_hash: TdlBaseTestUnit.test_unit_hash)
    TdlBaseTestUnit.top_sim_list << rel 
    TdlSimTest.define_singleton_method(name) do 
        return rel 
    end
    return rel
end