Sha256: 906bcee580ad71c81c0745cf529c43673e69615e69f934e1f04781b0640eeb90

Contents?: true

Size: 996 Bytes

Versions: 4

Compression:

Stored size: 996 Bytes

Contents

module Cucumberator::Commands
  class Help
    class << self
      # return value - wants to quit?
      def perform(*args, &block)
        puts ":: Write a step here and watch it happen on the browser."
        puts ":: Steps are automatically saved unless it raises exception. Use 'save' to force-save it anyway."
        puts ":: Available commands:"
        puts "::   save      - force-saves last step into current feature file"
        puts "::   last-step - display last executed step (to be saved on 'save' command)"
        puts "::   undo      - remove last saved line from feature file"
        puts "::   next      - execute next step and stop"
        puts "::   steps     - display available steps"
        puts "::   where     - display current location in file"
        puts "::   exit      - exits current scenario"
        puts "::   exit-all  - exists whole Cucumber feature"
        puts "::   help      - display this notification"

        false
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumberator-1.0.3 lib/cucumberator/commands/help.rb
cucumberator-1.0.2 lib/cucumberator/commands/help.rb
cucumberator-1.0.1 lib/cucumberator/commands/help.rb
cucumberator-1.0.0 lib/cucumberator/commands/help.rb