Class: CommonCartridge::Elements::Resources::Assessment

Inherits:
Object
  • Object
show all
Includes:
SAXMachine
Defined in:
lib/common_cartridge/elements/resources/assessment.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



5
6
7
# File 'lib/common_cartridge/elements/resources/assessment.rb', line 5

def identifier
  @identifier
end

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/common_cartridge/elements/resources/assessment.rb', line 5

def title
  @title
end

Class Method Details

.patternObject



15
16
17
# File 'lib/common_cartridge/elements/resources/assessment.rb', line 15

def self.pattern
  /assessment|quiz/
end

.typeObject



11
12
13
# File 'lib/common_cartridge/elements/resources/assessment.rb', line 11

def self.type
  :quiz
end