Skip to content

Commit fb32a09

Browse files
Update xml.rb
1 parent 25d100f commit fb32a09

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/ruby_saml/xml.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
require 'digest/sha2'
88

99
module RubySaml
10+
# Utility module for working with XML.
1011
module XML
1112
extend self
1213

@@ -112,6 +113,4 @@ def get_algorithm_attr(element)
112113
require 'ruby_saml/xml/signed_document'
113114

114115
# @deprecated This alias adds compatibility with v1.x and will be removed in v2.1.0
115-
unless defined?(XMLSecurity)
116-
XMLSecurity = RubySaml::XML
117-
end
116+
XMLSecurity = RubySaml::XML unless defined?(XMLSecurity)

0 commit comments

Comments
 (0)