class ClassHDL::ClassEdge

Attributes

origin[RW]

Public Class Methods

new(sdlm) click to toggle source
# File lib/tdl/class_hdl/hdl_always_ff.rb, line 5
def initialize(sdlm)
    @sdlm = sdlm
end

Public Instance Methods

method_missing(method,*args,&block) click to toggle source
# File lib/tdl/class_hdl/hdl_always_ff.rb, line 13
def method_missing(method,*args,&block)
    # unless @sdlm.respond_to? method
    #     raise TdlError.new("edge si")

    if @sdlm.respond_to? method
        @origin = @sdlm.public_send(method)
    else 
        @origin ||= method
    end

    return self
end
to_s() click to toggle source
# File lib/tdl/class_hdl/hdl_always_ff.rb, line 9
def to_s 
    @origin.to_s 
end