Sha256: 8faffd035fc79511cec998201df6d8651093dbebd2b6c15a4f684b38b26e312e

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

module Otter

  class Count < Base
    def hour
      Integer(self.data['h'])
    end

    def day
      Integer(self.data['d'])
    end

    def week
      Integer(self.data['w'])
    end

    def month
      Integer(self.data['m'])
    end

    def all
      Integer(self.data['a'])
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
otter-rb-0.0.1 lib/otter/count.rb