Class: Xmlenc::Builder::ReferenceList

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/xmlenc/builder/reference_list.rb

Instance Method Summary collapse

Instance Method Details

#add_data_reference(data_id) ⇒ Object


13
14
15
16
# File 'lib/xmlenc/builder/reference_list.rb', line 13

def add_data_reference(data_id)
  self.data_references ||= []
  self.data_references << DataReference.new(:uri => "##{data_id}")
end