Sha256: ce68bd282c02f2b9ede91d61cd3904620d23762a9df3e9c20d8f3ac47e10408a
Contents?: true
Size: 518 Bytes
Versions: 11
Compression:
Stored size: 518 Bytes
Contents
module Origen module Netlist autoload :List, 'origen/netlist/list' autoload :Connectable, 'origen/netlist/connectable' def netlist @netlist ||= if netlist_top_level == self List.new(self) else netlist_top_level.netlist end end def netlist_top_level @netlist_top_level ||= begin p = self p = p.parent while p.respond_to?(:parent) && p.parent p end end end end
Version data entries
11 entries across 11 versions & 1 rubygems