Method: Qti::V2::Models::Interactions::GapMatchInteraction#stem_items
- Defined in:
- lib/qti/v2/models/interactions/gap_match_interaction.rb
#stem_items ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'lib/qti/v2/models/interactions/gap_match_interaction.rb', line 34 def stem_items if prompt.present? stem_text_with_prompt = stem_text.unshift(prompt_hash) stem_items_with_id_and_position(stem_text_with_prompt) else stem_items_with_id_and_position(stem_text) end end |