Class: Asciidoctor::Question::HTMLGAPBlockProcessor

Inherits:
GAPBlockProcessor show all
Defined in:
lib/asciidoctor-question/gap/extension.rb

Instance Method Summary collapse

Methods inherited from GAPBlockProcessor

#process

Methods inherited from Extensions::BaseProcessor

inherited, #post_answers, #process_error, #process_error_push

Instance Method Details

#prepare_gap(value, tag) ⇒ Object



67
68
69
# File 'lib/asciidoctor-question/gap/extension.rb', line 67

def prepare_gap(value, tag)
  '+++<gap> <input type="text"/> <answer class="hidden">' + value + '</answer> </gap>+++'
end