Sha256: 68816c0b3bb37827e357ad2b1a28a16a1aca832f48e45d696116233c698c6ea3

Contents?: true

Size: 591 Bytes

Versions: 5

Compression:

Stored size: 591 Bytes

Contents

# Author::    Nicolas Despres  <nicolas.despres@gmail.com>.
# Copyright:: Copyright (c) 2004, 2005 TTK team. All rights reserved.
# License::   LGPL
# $Id: score.rb 567 2005-04-13 08:00:06Z polrop $


module TTK

  module Testers

    class Tester

      class Score
        include Comparable

        def initialize(score, tester)
          @score = score
          @tester = tester
        end

        attr_reader :score, :tester

        def <=>(rhs)
          @score <=> rhs.score
        end

      end # class Score

    end # class Tester

  end # module Testers

end # module TTK

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttk-0.1.576 lib/ttk/testers/tester/score.rb
ttk-0.2.1 lib/ttk/testers/tester/score.rb
ttk-0.1.579 lib/ttk/testers/tester/score.rb
ttk-0.2.0 lib/ttk/testers/tester/score.rb
ttk-0.1.580 lib/ttk/testers/tester/score.rb