lib/picky/query/allocation.rb in picky-2.6.0 vs lib/picky/query/allocation.rb in picky-2.7.0
- old
+ new
@@ -4,11 +4,11 @@
# [token, index] [other_token, other_index], ...
#
class Allocation # :nodoc:all
attr_reader :count, :ids, :score, :combinations, :result_identifier
-
+
#
#
def initialize combinations, result_identifier
@combinations = combinations
@result_identifier = result_identifier
@@ -74,11 +74,11 @@
end
#
#
def to_s
- "Allocation: #{to_result.join(', ')}"
+ "Allocation(#{to_result})"
end
end
-
+
end
\ No newline at end of file