Method: JSON::Editor::JSONTreeView#expand_collapse
- Defined in:
- lib/vendor/json_pure/lib/json/editor.rb
#expand_collapse(iter) ⇒ Object
Expand or collapse row pointed to by iter according to the #expanded attribute.
1037 1038 1039 1040 1041 1042 1043 |
# File 'lib/vendor/json_pure/lib/json/editor.rb', line 1037 def (iter) if (iter.path, true) else collapse_row(iter.path) end end |