Class: Ankit::Challenge::PassedStateBase
- Includes:
- SlashRecognizing
- Defined in:
- lib/ankit/challenge.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from State
Instance Method Summary collapse
Methods included from SlashRecognizing
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
#pump ⇒ Object
411 412 413 414 415 |
# File 'lib/ankit/challenge.rb', line 411 def pump progress.pass last_maturity = progress.last_slot.event.maturity progress.over? ? RefillState.new(progress) : QuestionState.new(progress).put_flash(flash) end |