class Seahorse::Model::Shapes::ShapeRef

def [](key)

Gets metadata for the given `key`.
def [](key)
  if @metadata.key?(key.to_s)
    @metadata[key.to_s]
  else
    @shape[key.to_s]
  end
end