We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 177fce2 commit 2054f0aCopy full SHA for 2054f0a
mrbgems/picoruby-machine/mrblib/machine.rb
@@ -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
+class Machine
10
end
0 commit comments