Class: Ankit::Challenge::EditState

Inherits:
State
  • Object
show all
Defined in:
lib/ankit/challenge.rb

Overview

XXX: test

Instance Attribute Summary

Attributes inherited from State

#last_answer, #progress

Instance Method Summary collapse

Methods inherited from State

#ask, #erase_last, #initialize, #keep_pumping_until, #line, #over?, #runtime, #say, #session, #show_and_ask_enter, #show_breaking_status, #show_summary_header

Constructor Details

This class inherits a constructor from Ankit::Challenge::State

Instance Method Details

#pumpObject



299
300
301
302
303
# File 'lib/ankit/challenge.rb', line 299

def pump
  # XXX: makes configurable
  system("vi " + progress.current_path)
  QuestionState.new(progress)
end