Module: OrigenTesters::Interface::ClassMethods

Defined in:
lib/origen_testers/interface.rb

Instance Method Summary collapse

Instance Method Details

#supports?(tester_instance) ⇒ Boolean

Returns true if the interface class supports the given tester instance

Returns:

  • (Boolean)


400
401
402
# File 'lib/origen_testers/interface.rb', line 400

def supports?(tester_instance)
  tester_instance.class == self::PLATFORM
end