Module: Qti

Defined in:
lib/qti.rb,
lib/qti/version.rb,
lib/qti/exporter.rb,
lib/qti/sanitizer.rb,
lib/qti/models/base.rb,
lib/qti/xpath_helpers.rb,
lib/qti/v1/models/base.rb,
lib/qti/v2/models/base.rb,
lib/qti/models/manifest.rb,
lib/qti/models/metadata.rb,
lib/qti/models/resource.rb,
lib/qti/content_packaging.rb,
lib/qti/v1/models/assessment.rb,
lib/qti/v1/models/object_bank.rb,
lib/qti/models/assessment_meta.rb,
lib/qti/v1/models/interactions.rb,
lib/qti/v1/models/scoring_data.rb,
lib/qti/v2/models/interactions.rb,
lib/qti/v2/models/scoring_data.rb,
lib/qti/v1/models/stimulus_item.rb,
lib/qti/v2/models/stimulus_item.rb,
lib/qti/assessment_item_exporter.rb,
lib/qti/v1/models/question_group.rb,
lib/qti/v1/models/assessment_item.rb,
lib/qti/v1/models/bank_entry_item.rb,
lib/qti/v2/models/assessment_item.rb,
lib/qti/v2/models/assessment_test.rb,
lib/qti/v1/models/numerics/precision.rb,
lib/qti/v2/models/non_assessment_test.rb,
lib/qti/v1/models/numerics/exact_match.rb,
lib/qti/content_packaging/simple_choice.rb,
lib/qti/v1/models/numerics/margin_error.rb,
lib/qti/v1/models/numerics/scoring_base.rb,
lib/qti/v1/models/numerics/scoring_data.rb,
lib/qti/v1/models/numerics/scoring_node.rb,
lib/qti/v1/models/numerics/within_range.rb,
lib/qti/v2/models/choices/simple_choice.rb,
lib/qti/content_packaging/assessment_item.rb,
lib/qti/content_packaging/assessment_test.rb,
lib/qti/v2/models/choices/gap_match_choice.rb,
lib/qti/v1/models/choices/fill_blank_choice.rb,
lib/qti/content_packaging/choice_interaction.rb,
lib/qti/content_packaging/outcome_declaration.rb,
lib/qti/v1/models/interactions/base_interaction.rb,
lib/qti/v2/models/interactions/base_interaction.rb,
lib/qti/v1/models/interactions/match_interaction.rb,
lib/qti/v2/models/interactions/match_interaction.rb,
lib/qti/v1/models/interactions/choice_interaction.rb,
lib/qti/v1/models/interactions/string_interaction.rb,
lib/qti/v1/models/interactions/upload_interaction.rb,
lib/qti/v2/models/interactions/choice_interaction.rb,
lib/qti/v1/models/interactions/formula_interaction.rb,
lib/qti/v1/models/interactions/numeric_interaction.rb,
lib/qti/v2/models/choices/simple_associable_choice.rb,
lib/qti/v1/models/choices/logical_identifier_choice.rb,
lib/qti/v1/models/interactions/hot_spot_interaction.rb,
lib/qti/v1/models/interactions/ordering_interaction.rb,
lib/qti/v2/models/interactions/ordering_interaction.rb,
lib/qti/v2/models/interactions/gap_match_interaction.rb,
lib/qti/v1/models/interactions/fill_blank_interaction.rb,
lib/qti/v2/models/interactions/short_text_interaction.rb,
lib/qti/v1/models/interactions/canvas_multiple_dropdown.rb,
lib/qti/v2/models/interactions/extended_text_interaction.rb,
lib/qti/v1/models/interactions/categorization_interaction.rb,
lib/qti/v2/models/interactions/categorization_interaction.rb,
lib/qti/v1/models/interactions/base_fill_blank_interaction.rb,
lib/qti/v2/models/interactions/match_item_tag_processors/match_interaction_tag_processor.rb,
lib/qti/v2/models/interactions/match_item_tag_processors/associate_interaction_tag_processor.rb

Defined Under Namespace

Modules: ContentPackaging, Models, V1, V2, XPathHelpers Classes: AssessmentItemExporter, Exporter, Importer, ParseError, Sanitizer, SpecificationViolation, UnsupportedSchema

Constant Summary collapse

VERSION =
'2.25.0'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



77
78
79
# File 'lib/qti.rb', line 77

def self.configuration
  @configuration ||= OpenStruct.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



81
82
83
# File 'lib/qti.rb', line 81

def self.configure
  yield(configuration)
end