Class: ISO8601::Weeks

Inherits:
Atom
  • Object
show all
Defined in:
lib/iso8601/atoms.rb

Overview

A Weeks atom in a Duration

Instance Method Summary collapse

Methods inherited from Atom

#initialize, #to_i, #to_seconds

Constructor Details

This class inherits a constructor from ISO8601::Atom

Instance Method Details

#factorObject

The Week factor



128
129
130
# File 'lib/iso8601/atoms.rb', line 128

def factor
  604800
end