Class: Kitchen::InjectedQuestionElementEnumerator
- Inherits:
-
ElementEnumeratorBase
- Object
- Enumerator
- ElementEnumeratorBase
- Kitchen::InjectedQuestionElementEnumerator
- Defined in:
- lib/kitchen/injected_question_element_enumerator.rb
Overview
An enumerator for example elements
Instance Attribute Summary
Attributes inherited from ElementEnumeratorBase
Class Method Summary collapse
-
.factory ⇒ ElementEnumeratorFactory
Returns a factory for this enumerator.
Methods inherited from ElementEnumeratorBase
#[], #chain_to, #chapters, #composite_chapters, #composite_pages, #copy, #cut, #examples, #exercises, #figures, #first!, #initialize, #injected_exercises, #injected_questions, #metadatas, #non_introduction_pages, #notes, #pages, #references, #search, #search_history, #search_with, #sections, #solutions, #tables, #terms, #titles, #to_s, #trash, #units
Methods included from Mixins::BlockErrorIf
Constructor Details
This class inherits a constructor from Kitchen::ElementEnumeratorBase
Class Method Details
.factory ⇒ ElementEnumeratorFactory
Returns a factory for this enumerator
12 13 14 15 16 17 18 |
# File 'lib/kitchen/injected_question_element_enumerator.rb', line 12 def self.factory ElementEnumeratorFactory.new( default_css_or_xpath: Selector.named(:injected_question), sub_element_class: InjectedQuestionElement, enumerator_class: self ) end |