Method: Gtk::TreeIter#type=

Defined in:
lib/json/editor.rb

#type=(value) ⇒ Object

Sets the type of this node to value. This implies setting the respective icon accordingly.



188
189
190
191
# File 'lib/json/editor.rb', line 188

def type=(value)
  self[TYPE_COL] = value
  self[ICON_COL] = Editor.fetch_icon(value)
end