lib/patience/event_handlers/click.rb
def animating_card?
        Animation.animations.any? do |anim|
          @card == anim.target && anim.running?
        end
      end
# Internal: Check, whether the clicked card is performing any animations.
#
# Returns true if the card is currently animating or false otherwise.
Check, whether the clicked card is performing any animations.
Returns true if the card is currently animating or false otherwise.
Check whether the clicked card is performing any animations . Returns true if the card is currently animating or false otherwise .
def animating_card?
        Animation.animations.any? do |anim|
          @card == anim.target && anim.running?
        end
      end
def animating_card? Animation . animations . any? do | anim | @card == anim . target && anim . running? end end
Internal: Check, whether the clicked card is performing any animations.
Internal : Check whether the clicked card is performing any animations .