# File basiclibrary.rb, line 176 def []=(key,val) raise "Error: WriteOnceHash already has a value for key '#{key.to_s}' in object:\n#{self.inspect}" if self.has_key?(key) && self[key]!=val super end