This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
collapsed_nodes(item)
public
Collapse/Expand all nodes by default.
# File ext/json/lib/json/editor.rb, line 663
def collapsed_nodes(item)
if expanded
self.expanded = false
collapse_all
else
self.expanded = true
expand_all
end
end