lib/ur/sub_ur.rb in ur-0.1.1 vs lib/ur/sub_ur.rb in ur-0.2.0

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true require 'ur' unless Object.const_defined?(:Ur) -class Ur +module Ur module SubUr def ur - parents.detect { |p| p.is_a?(::Ur) } + parent_jsis.detect { |p| p.is_a?(::Ur) } end end end