Skip to content

Commit 2054f0a

Browse files
committed
remove Time hack
1 parent 177fce2 commit 2054f0a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
if RUBY_ENGINE == "mruby"
2-
class Time
3-
def self.now(in: nil)
4-
ts = Machine.get_hwclock
5-
tv_sec = ts[0]
6-
tv_nsec = ts[1].to_f / 1_000_000_000
7-
Time.at(tv_sec + tv_nsec)
8-
end
9-
end
1+
class Machine
102
end

0 commit comments

Comments
 (0)