lib/reality/model/repository.rb
def lock!
        Reality::Model.error("Attempting to lock repository '#{key}' when repository is already locked.") if locked?
        @locked = true
        define_ruby_classes
        define_facet_targets
        define_top_level_instance_accessors
      end
# This method is called when the repository is finalized, after which no changes can be made.
This method is called when the repository is finalized, after which no changes can be made.
This method is called when the repository is finalized after which no changes can be made .
def lock!
        Reality::Model.error("Attempting to lock repository '#{key}' when repository is already locked.") if locked?
        @locked = true
        define_ruby_classes
        define_facet_targets
        define_top_level_instance_accessors
      end
def lock! Reality :: Model . error ( "Attempting to lock repository '#{key}' when repository is already locked." ) if locked? @locked = true define_ruby_classes define_facet_targets define_top_level_instance_accessors end
This method is called when the repository is finalized, after which no changes can be made.
This method is called when the repository is finalized after which no changes can be made .