Class: Ankit::Challenge::TypoState
- Inherits:
-
PassedStateBase
- Object
- State
- PassedStateBase
- Ankit::Challenge::TypoState
- Defined in:
- lib/ankit/challenge.rb
Instance Attribute Summary
Attributes inherited from State
Instance Method Summary collapse
Methods inherited from PassedStateBase
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
#flash ⇒ Object
419 420 421 422 |
# File 'lib/ankit/challenge.rb', line 419 def flash hilited = progress.last_card.mixed_hilight_for_flash(last_answer) StylableText.styled_text("last: ", :fyi) + hilited end |