class Lebowski::Foundation::Views::LabelView

Represents a proxy to a SproutCore label view (SC.LabelView)

Public Instance Methods

edit(value) click to toggle source
# File lib/lebowski/foundation/views/label.rb, line 18
def edit(value)
  return if (not self['isEditable'])
  
  double_click
  edit_inline_text_field value
  click
  
  # Need to incoporate an intentional sleep so sproutcore
  # has enough time to do its thing
  sleep 0.2
end