Method: Roo::Excelx::Relationships#include_type?

Defined in:
lib/roo/excelx/relationships.rb

#include_type?(type) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
19
20
# File 'lib/roo/excelx/relationships.rb', line 16

def include_type?(type)
  to_a.any? do |_, rel|
    rel["Type"]&.include? type
  end
end