lib/hoc/hits.rb in hoc-0.1 vs lib/hoc/hits.rb in hoc-0.2
- old
+ new
@@ -22,13 +22,12 @@
# SOFTWARE.
module HOC
# Set of hits.
class Hits
- def initialize(first, last, total)
- @first = first
- @last = last
+ def initialize(date, total)
+ @date = date
@total = total
end
- attr_reader :first, :last, :total
+ attr_reader :date, :total
end
end