class HDLRuby::Low::HashName

Describes a hash for named HDLRuby objects

Public Instance Methods

add(object) click to toggle source

Adds a named object.

# File lib/HDLRuby/hruby_low.rb, line 25
def add(object)
    self[object.name] = object
end
include?(object) click to toggle source

Tells if object is included in the hash.

# File lib/HDLRuby/hruby_low.rb, line 30
def include?(object)
    return self.has_key?(object.name)
end