class ActiveFedora::Merged
unwritable.
@note As the keys can come from multiple models, the attributes become
Represents the result of merging two association hashes.
#
def [](name)
def [](name) first[name] || second[name] end
def []=(_name)
def []=(_name) raise NotImplementedError, "Unable to set properties on a merged association hash." end
def initialize(first, second)
def initialize(first, second) @first = first @base = first.base @second = second end
def keys
def keys first.keys + second.keys end