Class: LiveJournal::Sync::CommentsXML::Base
- Inherits:
-
Object
- Object
- LiveJournal::Sync::CommentsXML::Base
- Defined in:
- lib/livejournal/comments-xml.rb
Instance Attribute Summary (collapse)
-
- (Object) comments
readonly
Returns the value of attribute comments.
-
- (Object) maxid
readonly
Returns the value of attribute maxid.
-
- (Object) usermap
readonly
Returns the value of attribute usermap.
Instance Method Summary (collapse)
-
- (Base) initialize(data = nil)
constructor
A new instance of Base.
Constructor Details
- (Base) initialize(data = nil)
A new instance of Base
58 59 60 61 62 63 |
# File 'lib/livejournal/comments-xml.rb', line 58 def initialize(data=nil) @maxid = nil @comments = {} @usermap = {} parse data if data end |
Instance Attribute Details
- (Object) comments (readonly)
Returns the value of attribute comments
57 58 59 |
# File 'lib/livejournal/comments-xml.rb', line 57 def comments @comments end |
- (Object) maxid (readonly)
Returns the value of attribute maxid
57 58 59 |
# File 'lib/livejournal/comments-xml.rb', line 57 def maxid @maxid end |
- (Object) usermap (readonly)
Returns the value of attribute usermap
57 58 59 |
# File 'lib/livejournal/comments-xml.rb', line 57 def usermap @usermap end |