lib/runcom/data.rb in runcom-10.2.1 vs lib/runcom/data.rb in runcom-11.0.0
- old
+ new
@@ -7,14 +7,16 @@
class Data
extend Forwardable
CONTEXT = Context.new xdg: XDG::Data
- delegate %i[relative namespace file_name active passive global local all inspect] => :common
+ delegate %i[initial namespace file_name active passive global local all to_s to_str] => :common
def initialize path, context: CONTEXT
@common = Paths::Common.new path, context:
end
+
+ def inspect = "#<#{self.class}:#{object_id} #{common}>"
private
attr_reader :common
end