Sha256: 4efb07954626ae705338a275305561a3645cf84d7ba2c79eeefba05ddb483186
Contents?: true
Size: 203 Bytes
Versions: 2
Compression:
Stored size: 203 Bytes
Contents
class String # Parse string to time. # # CREDIT: Trans # # TODO: This requires the external time.rb lib. Should we do this? def to_time require 'time' Time.parse(self) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.3 | lib/core/facets/string/to_time.rb |
facets-2.4.2 | lib/core/facets/string/to_time.rb |