summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/rels
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-08 00:12:18 +0200
committerGeremia Taglialatela <[email protected]>2023-04-08 00:12:18 +0200
commit5d68145521afe5c5912ceebae2f7e784eb5f8954 (patch)
tree5289c654cb213de98a6c812fbe581e2609f6615a /lib/axlsx/rels
parent7f077b55bf963c6e855c6c9066c6aed4926fb8e3 (diff)
downloadcaxlsx-5d68145521afe5c5912ceebae2f7e784eb5f8954.tar.gz
caxlsx-5d68145521afe5c5912ceebae2f7e784eb5f8954.zip
Fix EmptyLines related offenses
Diffstat (limited to 'lib/axlsx/rels')
-rw-r--r--lib/axlsx/rels/relationship.rb2
-rw-r--r--lib/axlsx/rels/relationships.rb2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/axlsx/rels/relationship.rb b/lib/axlsx/rels/relationship.rb
index f5bda412..f1759649 100644
--- a/lib/axlsx/rels/relationship.rb
+++ b/lib/axlsx/rels/relationship.rb
@@ -2,7 +2,6 @@ module Axlsx
# A relationship defines a reference between package parts.
# @note Packages automatically manage relationships.
class Relationship
-
class << self
# Keeps track of relationship ids in use.
# @return [Array]
@@ -124,6 +123,5 @@ module Axlsx
key << self.Target if self.TargetMode == :External
key
end
-
end
end
diff --git a/lib/axlsx/rels/relationships.rb b/lib/axlsx/rels/relationships.rb
index 5e542e2c..8f3b62cc 100644
--- a/lib/axlsx/rels/relationships.rb
+++ b/lib/axlsx/rels/relationships.rb
@@ -4,7 +4,6 @@ require 'axlsx/rels/relationship.rb'
# Relationships are a collection of Relations that define how package parts are related.
# @note The package automatically manages releationships.
class Relationships < SimpleTypedList
-
# Creates a new Relationships collection based on SimpleTypedList
def initialize
super Relationship
@@ -26,6 +25,5 @@ require 'axlsx/rels/relationship.rb'
each{ |rel| rel.to_xml_string(str) }
str << '</Relationships>'
end
-
end
end