Module: Moodle2CC::Canvas::Resource
- Included in:
- Assessment, Assignment, DiscussionTopic, Label, WebContent, WebLink, Wiki
- Defined in:
- lib/moodle2cc/canvas/resource.rb
Instance Method Summary collapse
- #create_module_meta_item_elements(item_node) ⇒ Object
- #create_module_meta_item_node(items_node, position) ⇒ Object
Instance Method Details
#create_module_meta_item_elements(item_node) ⇒ Object
13 14 |
# File 'lib/moodle2cc/canvas/resource.rb', line 13 def (item_node) end |
#create_module_meta_item_node(items_node, position) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/moodle2cc/canvas/resource.rb', line 3 def (items_node, position) items_node.item(:identifier => create_mod_key(@mod)) do |item_node| item_node.title @title item_node.position position item_node.new_tab '' item_node.indent @indent (item_node) end end |