Class: MediaWiki::FakeWiki::WikiPage
- Inherits:
-
Object
- Object
- MediaWiki::FakeWiki::WikiPage
- Defined in:
- lib/media_wiki/fake_wiki.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ WikiPage
constructor
A new instance of WikiPage.
Constructor Details
#initialize(options = {}) ⇒ WikiPage
Returns a new instance of WikiPage.
475 476 477 |
# File 'lib/media_wiki/fake_wiki.rb', line 475 def initialize(={}) .each { |k, v| send("#{k}=", v) } end |
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
479 480 481 |
# File 'lib/media_wiki/fake_wiki.rb', line 479 def @author end |
#content ⇒ Object
Returns the value of attribute content.
479 480 481 |
# File 'lib/media_wiki/fake_wiki.rb', line 479 def content @content end |