Method: RubyXL::OOXMLRelationshipsFile.rel_file_path

Defined in:
lib/rubyXL/objects/relationships.rb

.rel_file_path(base_file_path) ⇒ Object



129
130
131
132
# File 'lib/rubyXL/objects/relationships.rb', line 129

def self.rel_file_path(base_file_path)
  basename = base_file_path.root? ? '' : base_file_path.basename
  base_file_path.dirname.join('_rels', "#{basename}.rels").cleanpath
end