Class: Desmoservice::TermEdit
- Inherits:
-
Object
- Object
- Desmoservice::TermEdit
- Defined in:
- lib/edition.rb
Instance Method Summary collapse
- #attr(attr_key, values) ⇒ Object
- #family(family_arg) ⇒ Object
-
#initialize(xml) ⇒ TermEdit
constructor
A new instance of TermEdit.
- #text(lang, content) ⇒ Object
Constructor Details
#initialize(xml) ⇒ TermEdit
Returns a new instance of TermEdit.
152 153 154 |
# File 'lib/edition.rb', line 152 def initialize(xml) @xml = xml end |
Instance Method Details
#attr(attr_key, values) ⇒ Object
164 165 166 |
# File 'lib/edition.rb', line 164 def attr(attr_key, values) Edition.attr(@xml, attr_key, values) end |