Sha256: 6e01353eef531daba39a87c77c7d974b24099f0b31b41ec99e521a7d12cbf29a
Contents?: true
Size: 340 Bytes
Versions: 21
Compression:
Stored size: 340 Bytes
Contents
module Clinical class Condition attr_accessor :name include HappyMapper def to_s self.name || "" end class << self def parse(xml, options) xml.find("condition").collect do |n| item = new item.name = n.content.chomp.strip item end end end end end
Version data entries
21 entries across 21 versions & 2 rubygems