Module: Origen::Tester::Interface::ClassMethods
- Defined in:
- lib/origen/tester/interface.rb
Instance Method Summary collapse
-
#supports?(tester_instance) ⇒ Boolean
Returns true if the interface class supports the given tester instance.
Instance Method Details
#supports?(tester_instance) ⇒ Boolean
Returns true if the interface class supports the given tester instance
143 144 145 146 147 148 149 150 |
# File 'lib/origen/tester/interface.rb', line 143 def supports?(tester_instance) # Testers uses different platform check than Origen core if self.respond_to?('platform') tester_instance.is_a?(platform) else tester_instance.is_a?(self::PLATFORM) end end |