Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
revert(item)
public
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