Method: Origen::Location::Map::ClassMethods#method_missing
- Defined in:
- lib/origen/location/map.rb
#method_missing(method, *args, &block) ⇒ Object
Provides accessors for all named locations, for example:
$dut.nvm.fmu.ifr_map.probe1_pass
53 54 55 56 57 58 59 60 61 62 |
# File 'lib/origen/location/map.rb', line 53 def method_missing(method, *args, &block) if defining? if definitions[method] warning "Redefinition of map location: #{method}" end definitions[method] = { attributes: args.first, x: @x } else super end end |