Class: Redsync::WikiPage
- Inherits:
-
Object
- Object
- Redsync::WikiPage
- Defined in:
- lib/redsync/wiki_page.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options) ⇒ WikiPage
constructor
A new instance of WikiPage.
Constructor Details
#initialize(options) ⇒ WikiPage
Returns a new instance of WikiPage.
5 6 7 8 9 |
# File 'lib/redsync/wiki_page.rb', line 5 def initialize() @name = [:name] @mtime = [:mtime] @content = [:content] end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
3 4 5 |
# File 'lib/redsync/wiki_page.rb', line 3 def content @content end |
#mtime ⇒ Object
Returns the value of attribute mtime.
3 4 5 |
# File 'lib/redsync/wiki_page.rb', line 3 def mtime @mtime end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/redsync/wiki_page.rb', line 3 def name @name end |