Class: Hash

Inherits:
Object
  • Object
show all
Includes:
Xqsr3::HashUtilities::DeepTransform
Defined in:
lib/xqsr3/extensions/hash/match.rb,
lib/xqsr3/extensions/hash/has_match.rb,
lib/xqsr3/extensions/hash/deep_transform.rb

Direct Known Subclasses

Xqsr3::Containers::MultiMap

Instance Method Summary collapse

Methods included from Xqsr3::HashUtilities::DeepTransform

#deep_transform, #deep_transform!

Instance Method Details

#has_match?(re, **options) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
9
# File 'lib/xqsr3/extensions/hash/has_match.rb', line 6

def has_match? re, **options

	return ::Xqsr3::HashUtilities::KeyMatching.has_match? self, re, **options
end

#match(re, **options) ⇒ Object



6
7
8
9
# File 'lib/xqsr3/extensions/hash/match.rb', line 6

def match re, **options

	return ::Xqsr3::HashUtilities::KeyMatching.match self, re, **options
end