• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 62bad3f1-d46d-40af-822c-403d653da2a8

17 Jun 2025 05:30PM UTC coverage: 0.447% (-94.9%) from 95.337%
62bad3f1-d46d-40af-822c-403d653da2a8

push

circleci

maxkadel
Install chrome & chromedriver for smoke specs

43 of 9610 relevant lines covered (0.45%)

0.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/models/orangelight/call_number.rb
1
# frozen_string_literal: true
2

3
class Orangelight::CallNumber < ApplicationRecord
×
4
  def self.table_name_prefix
×
5
    "#{BrowseLists.table_prefix}_"
×
6
  end
×
7

8
  # Compares two CallNumber instances
9
  # @see Object#<=>
10
  # @param [Orangelight::CallNumber] other
11
  # @return [Integer]
12
  def <=>(other)
×
13
    return 1 unless other.is_a?(self.class)
×
14
    return label <=> other.label if sort.nil? && other.nil?
×
15

16
    sort <=> other.sort
×
17
  end
×
18
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc