lib/grumlin/path.rb in grumlin-0.11.0 vs lib/grumlin/path.rb in grumlin-0.12.0
- old
+ new
@@ -1,8 +1,10 @@
# frozen_string_literal: true
module Grumlin
class Path
+ attr_reader :objects
+
def initialize(path)
@labels = Typing.cast(path[:labels])
@objects = Typing.cast(path[:objects])
end