Module: Glimmer::LibUI::ControlProxy::EditableColumn

Instance Method Summary collapse

Instance Method Details

#editable(value = nil) ⇒ Object Also known as: editable=, set_editable, editable?



26
27
28
29
30
31
32
33
# File 'lib/glimmer/libui/control_proxy/editable_column.rb', line 26

def editable(value = nil)
  if value.nil?
    @editable = false if @editable.nil?
    @editable
  else
    @editable = !!value
  end
end