lib/institutions/institution/parents.rb in institutions-0.0.2 vs lib/institutions/institution/parents.rb in institutions-0.0.3

- old
+ new

@@ -1,9 +1,13 @@ module Institutions#:no_doc module Parents#:no_doc # Parents attributes attr_reader :parent_code + def parent_code=(parent_code) + @parent_code = parent_code.to_sym + end + # # Merges the given parent into the Institution. # Assumes the parent has a to_hash method # def merge_parent(parent={}) \ No newline at end of file