Skip to content

Commit

Permalink
chore: removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
suleman-uzair committed Nov 25, 2024
1 parent ee53087 commit 551eba3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/lutaml/xsd/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ def schema_location?(schema_hash)
schema_hash&.dig("__schema_location")&.key?(:schema_location)
end

def reject_text(schema_hash)
schema_hash&.reject! { |k, _| k if k == "text" }
end

def add_annotation(value, doc)
annotation = doc.create_element("annotation")
documentation_element = doc.create_element("documentation")
Expand Down

0 comments on commit 551eba3

Please sign in to comment.