class Moodle2CC::Canvas::WebContent
Public Class Methods
new(mod)
click to toggle source
Calls superclass method
Moodle2CC::CC::WebContent::new
# File lib/moodle2cc/canvas/web_content.rb, line 5 def initialize(mod) super @rel_path = File.join(WIKI_FOLDER, "#{file_slug(@title)}.html") end
Public Instance Methods
create_module_meta_item_elements(item_node)
click to toggle source
# File lib/moodle2cc/canvas/web_content.rb, line 10 def create_module_meta_item_elements(item_node) item_node.content_type 'WikiPage' item_node.identifierref @identifier end