Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 7, 2025
1 parent 06ae746 commit 22e74f7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/models/public_xml_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ def get_value(node)
node&.first ? node.first.content : nil
end

def stanford_mods
@stanford_mods ||= Stanford::Mods::Record.new.tap do |smods_rec|
smods_rec.from_str(mods.to_s)
end
end

def mods_display
@mods_display ||= ModsDisplay::HTML.new(stanford_mods)
end

def public_xml
@public_xml ||= self.class.fetch("#{purl_base_url}.xml")
end
Expand Down

0 comments on commit 22e74f7

Please sign in to comment.