class Seahorse::Model::ShapeMap

def resolve(shape_ref)

def resolve(shape_ref)
  if definition = @definitions[shape_ref['shape']]
    definition.merge(shape_ref)
  else
    raise ArgumentError, "shape not found for #{shape_ref.inspect}"
  end
end