Class: Origen::Generator::Pattern

Inherits:
Object
  • Object
show all
Defined in:
lib/origen_testers/origen_ext/generator/pattern.rb

Class Method Summary collapse

Class Method Details

.convert(file) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



9
10
11
12
13
# File 'lib/origen_testers/origen_ext/generator/pattern.rb', line 9

def self.convert(file)
  @converting = file
  yield
  @converting = nil
end

.convertingObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



16
17
18
# File 'lib/origen_testers/origen_ext/generator/pattern.rb', line 16

def self.converting
  @converting
end