Class: Moodle2CC::Moodle2::Models::Wiki
- Inherits:
-
Object
- Object
- Moodle2CC::Moodle2::Models::Wiki
- Defined in:
- lib/moodle2cc/moodle2/models/wiki.rb
Instance Attribute Summary collapse
-
#first_page_title ⇒ Object
Returns the value of attribute first_page_title.
-
#id ⇒ Object
Returns the value of attribute id.
-
#intro ⇒ Object
Returns the value of attribute intro.
-
#intro_format ⇒ Object
Returns the value of attribute intro_format.
-
#module_id ⇒ Object
Returns the value of attribute module_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#pages ⇒ Object
Returns the value of attribute pages.
-
#visible ⇒ Object
Returns the value of attribute visible.
Instance Method Summary collapse
-
#initialize ⇒ Wiki
constructor
A new instance of Wiki.
Constructor Details
#initialize ⇒ Wiki
Returns a new instance of Wiki.
6 7 8 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 6 def initialize @pages = [] end |
Instance Attribute Details
#first_page_title ⇒ Object
Returns the value of attribute first_page_title.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def first_page_title @first_page_title end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def id @id end |
#intro ⇒ Object
Returns the value of attribute intro.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def intro @intro end |
#intro_format ⇒ Object
Returns the value of attribute intro_format.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def intro_format @intro_format end |
#module_id ⇒ Object
Returns the value of attribute module_id.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def module_id @module_id end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def name @name end |
#pages ⇒ Object
Returns the value of attribute pages.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def pages @pages end |
#visible ⇒ Object
Returns the value of attribute visible.
4 5 6 |
# File 'lib/moodle2cc/moodle2/models/wiki.rb', line 4 def visible @visible end |