class Rbnotes::Statistics::StatisticValue

Attributes

lines[R]

Public Class Methods

new(timestamp, text) click to toggle source
# File lib/rbnotes/statistics.rb, line 86
def initialize(timestamp, text)
  @timestamp = timestamp
  @lines = text.size
end

Public Instance Methods

mon() click to toggle source
# File lib/rbnotes/statistics.rb, line 95
def mon
  @timestamp[:mon]
end
year() click to toggle source
# File lib/rbnotes/statistics.rb, line 91
def year
  @timestamp[:year]
end