Sha256: fbc9ceffb70072fffdaf0f6ab86965716ea2d3e0d07c5bea409baf912493aeaa
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module Mixture module Types # A time type. I'm not sure why Ruby has a Date, DateTime, and # Time object, but someone thinks we need it. class Time < Object register options[:primitive] = ::Time options[:method] = :to_time as :time end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mixture-0.7.1 | lib/mixture/types/time.rb |
mixture-0.7.0 | lib/mixture/types/time.rb |