lib/patience/cursor.rb
def still_on_something?
      if carrying_card?
        card.hit?(mouse_pos)
      elsif pile
        pile.hit?(mouse_pos)
      else
       false
      end
    end
# Public: Check whether the cursor is still over the clicked object by
# asking card or pile, if the mouse_pos is within the pale of them.
#
# Returns true if the statement above is true or false otherwise.
Check whether the cursor is still over the clicked object by
asking card or pile, if the mouse_pos is within the pale of them.

Returns true if the statement above is true or false otherwise.
Check whether the cursor is still over the clicked object by asking card or pile if the mouse_pos is within the pale of them . Returns true if the statement above is true or false otherwise .
def still_on_something?
      if carrying_card?
        card.hit?(mouse_pos)
      elsif pile
        pile.hit?(mouse_pos)
      else
       false
      end
    end
def still_on_something? if carrying_card? card . hit? ( mouse_pos ) elsif pile pile . hit? ( mouse_pos ) else false end end
Public: Check whether the cursor is still over the clicked object by
asking card or pile, if the mouse_pos is within the pale of them.
Public : Check whether the cursor is still over the clicked object by asking card or pile if the mouse_pos is within the pale of them .