revert(item)
Revert the current JSON document in the editor to the saved version.
# File ext/json/lib/json/editor.rb, line 505 def revert(item) window.instance_eval do @filename and file_open(@filename) end end