skoba / openehr-ruby

Ruby implementation of the openEHR specification
http://openehr.jp/projects/ref-impl-ruby/
Apache License 2.0
35 stars 12 forks source link

Parent attribute in constraints and path calculation #18

Closed dem closed 11 years ago

dem commented 11 years ago

Set parent in attributes of CComplexObject. It's good to have all constraint tree back-linked.

Always set @path doesn't require now. Use constaint parent to calculate path.

dem commented 11 years ago

Hmm, I shouldn't change array initialization in children by inject method. Fix injection and broken test.

skoba commented 11 years ago

Thank you Dem! Спасибо! I have been checking the broken parent link you pointed out.