lib/reality/model/repository.rb
def model_element_by_key(key)
        model_element = model_element_map[key.to_s]
        Reality::Model.error("Can not find model element '#{key}' in repository '#{self.key}'.") unless model_element
        model_element
      end
# A symbolic name for the system model
A symbolic name for the system model
A symbolic name for the system model
def model_element_by_key(key)
        model_element = model_element_map[key.to_s]
        Reality::Model.error("Can not find model element '#{key}' in repository '#{self.key}'.") unless model_element
        model_element
      end
def model_element_by_key ( key ) model_element = model_element_map [ key . to_s ] Reality :: Model . error ( "Can not find model element '#{key}' in repository '#{self.key}'." ) unless model_element model_element end
A symbolic name for the system model
A symbolic name for the system model
key