Module: Clinical::Sponsor::ClassMethods
- Defined in:
- lib/clinical/sponsor.rb
Instance Method Summary collapse
Instance Method Details
#parse(xml, options = {}) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/clinical/sponsor.rb', line 18 def parse(xml, = {}) xml.find(tag_name).collect do |n| item = new item.name = n.content.chomp.strip item end end |