Class: ISO8601::Hours

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

Overview

The Hours 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 Hour factor



150
151
152
# File 'lib/iso8601/atoms.rb', line 150

def factor
  3600
end