Class: Category
- Inherits:
-
Object
- Object
- Category
- Defined in:
- lib/stanzas/notification_stanza.rb
Instance Method Summary collapse
-
#initialize(node) ⇒ Category
constructor
A new instance of Category.
- #term ⇒ Object
Constructor Details
#initialize(node) ⇒ Category
Returns a new instance of Category.
77 78 79 |
# File 'lib/stanzas/notification_stanza.rb', line 77 def initialize(node) @node = node end |
Instance Method Details
#term ⇒ Object
81 82 83 |
# File 'lib/stanzas/notification_stanza.rb', line 81 def term @node["term"] end |