lib/reality/model/repository.rb
def register_model_element(model_element)
        Reality::Model.error("Attempting to define model element '#{model_element.qualified_key}' when repository is locked.") if locked?
        Reality::Model.error("Attempting to redefine model element '#{model_element.qualified_key}'") if model_element_map[model_element.key.to_s]
        model_element_map[model_element.key.to_s] = 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 register_model_element(model_element)
        Reality::Model.error("Attempting to define model element '#{model_element.qualified_key}' when repository is locked.") if locked?
        Reality::Model.error("Attempting to redefine model element '#{model_element.qualified_key}'") if model_element_map[model_element.key.to_s]
        model_element_map[model_element.key.to_s] = model_element
      end
def register_model_element ( model_element ) Reality :: Model . error ( "Attempting to define model element '#{model_element.qualified_key}' when repository is locked." ) if locked? Reality :: Model . error ( "Attempting to redefine model element '#{model_element.qualified_key}'" ) if model_element_map [ model_element . key . to_s ] model_element_map [ model_element . key . to_s ] = model_element end
A symbolic name for the system model
A symbolic name for the system model
model_element