lib/vnstat/result/day.rb in vnstat-ruby-1.1.0 vs lib/vnstat/result/day.rb in vnstat-ruby-2.0.0
- old
+ new
@@ -1,10 +1,13 @@
+# frozen_string_literal: true
+
module Vnstat
class Result
##
# A class representing a tracking result for a specific day.
#
- # @attr_reader [Date] date The date the result was captured on.
+ # @!attribute [r] date
+ # @return [Date] The date the result was captured on.
class Day < Result
include DateDelegation
attr_reader :date