self
end
+ def collect
+ results.collect do |m|
+ yield m
+ end
+ end
+
def first
results.first
end
end
end
- def name_for item_or_uuid
+ # Note: this arbitrarily chooses one of (possibly) multiple names.
+ def names_for item_or_uuid
links_for(item_or_uuid, 'name').first.andand.name
end