Class: Desmoservice::TermEdit

Inherits:
Object
  • Object
show all
Defined in:
lib/edition.rb

Instance Method Summary collapse

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

#family(family_arg) ⇒ Object



156
157
158
# File 'lib/edition.rb', line 156

def family(family_arg)
  Edition.family(@xml, family_arg)
end

#text(lang, content) ⇒ Object



160
161
162
# File 'lib/edition.rb', line 160

def text(lang, content)
  Edition.text(@xml, lang, content)
end