blob: 328f9160f6e1c9579f8d87fe83a5d83d04adba19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module TimeSpecs
class SubTime < Time; end
class MethodHolder
class << self
define_method(:now, &Time.method(:now))
define_method(:new, &Time.method(:new))
end
end
end
|