module Origen::OrgFile::Interceptable

Public Class Methods

included(base) click to toggle source
# File lib/origen/org_file/interceptable.rb, line 4
def self.included(base)
  base.extend ClassMethods
end

Public Instance Methods

__interceptor__=(obj) click to toggle source

@api private

# File lib/origen/org_file/interceptable.rb, line 35
def __interceptor__=(obj)
  @__interceptor__ = obj
end
myself() click to toggle source

Class which include OrgFile::Interceptor should use ‘myself’ anytime then want to reference ‘self’, this ensures that there are never any references to the unwrapped object

# File lib/origen/org_file/interceptable.rb, line 30
def myself
  @__interceptor__
end