class Scorm2004::Manifest::RuleCondition
Constants
- CONDITIONS
Private Instance Methods
do_visit()
click to toggle source
# File lib/scorm2004/manifest/rule_condition.rb, line 40 def do_visit return unless referenced_objective if '' == referenced_objective error('The referencedObjective attribute cannot be an empty string.') end if /\s/ =~ referenced_objective error('The referencedObjective attribute cannot contain any whitespace characters.') end end