The Fixnum is gone as of Ruby-2.4
zblsv opened this issue · comments
zblsv commented
It seems to me that this check cannot be passed. On Ruby-3.2.2 I have milliseconds must be a number. (TypeError)
when I call Iodine.run-every milliseconds: 15000
.
zblsv commented
Sorry, according to https://github.com/ruby/ruby/blob/cc68d692f80bde4336bbefa2c0872f2a63064edb/doc/extension.rdoc T_FIXNUM is not gone despite of Fixnum is gone.
Jan Biedermann commented
milliseconds is not a kwarg, just the first arg:
Iodine.run-every 15000
zblsv commented
Yes, I realized my mistake, thank you.
Iodine.run_every(15000, 5) { pp Time.now }