1 2 3 4 5 6 7 8 9 10
# frozen_string_literal: true class GlobalID attr_reader :uri delegate :to_param, :to_s, to: :uri def initialize(gid, options = {}) @uri = gid end end