Module: Kitchen::Directions::BakeNoteInjectedQuestion
- Defined in:
- lib/kitchen/directions/bake_notes/bake_note_injected_question.rb
Class Method Summary collapse
Class Method Details
.v1(note:, question:) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/kitchen/directions/bake_notes/bake_note_injected_question.rb', line 6 def self.v1(note:, question:) question.add_class('unnumbered') number = note.first('.os-number').text.gsub(/#/, '') Kitchen::Directions::BakeInjectedExerciseQuestion.v1( question: question, number: number, only_number_solution: true ) end |