Sha256: 951ad2ea3f99fb92f53f59771e41870084ea8188a8dec3512fadeccc584b62da

Contents?: true

Size: 185 Bytes

Versions: 5

Compression:

Stored size: 185 Bytes

Contents

# frozen_string_literal: true

require 'ur' unless Object.const_defined?(:Ur)

module Ur
  module SubUr
    def ur
      jsi_parent_nodes.detect { |p| p.is_a?(::Ur) }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ur-0.2.5 lib/ur/sub_ur.rb
ur-0.2.4 lib/ur/sub_ur.rb
ur-0.2.3 lib/ur/sub_ur.rb
ur-0.2.2 lib/ur/sub_ur.rb
ur-0.2.1 lib/ur/sub_ur.rb