lib/screengem/actor.rb
#
# Used by an actor to take one or more actions.
#
# Used to implement tasks. Actions do not appear in step definitions.
#
Used by an actor to take one or more actions.
Used to implement tasks. Actions do not appear in step definitions.
Used by an actor to take one or more actions . Used to implement tasks . Actions do not appear in step definitions .
def takes_action(*actions)
      actions.each do |action|
        action.configure(self, screen)
        action.execute
      end
    end
def takes_action ( * actions ) actions . each do | action | action . configure ( self , screen ) action . execute end end
Used by an actor to take one or more actions.
Used by an actor to take one or more actions .
actions