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.
79 80 81 |
# File 'lib/stanzas/notification_stanza.rb', line 79 def initialize(node) @node = node end |
Instance Method Details
#term ⇒ Object
83 84 85 |
# File 'lib/stanzas/notification_stanza.rb', line 83 def term @node["term"] end |