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.
type=(value)
public
Sets the type of this
node to value. This implies setting the respective icon
accordingly.
# File ext/json/lib/json/editor.rb, line 189
def type=(value)
self[TYPE_COL] = value
self[ICON_COL] = Editor.fetch_icon(value)
end