Method: Fidgit::Selection#remove

Defined in:
lib/fidgit/selection.rb

#remove(object) ⇒ Object



33
34
35
36
37
38
39
# File 'lib/fidgit/selection.rb', line 33

def remove(object)
  @items.delete(object)
  object.selected = false
  object.dragging = false

  self
end