Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/sisfc/configuration.rb

Overview

JRuby 9.2 still has a buggy support for refinements, so we need to revert to the brutal monkeypatching of the Integer class

Instance Method Summary collapse

Instance Method Details

#msecObject

def minute; self * 60; end def minutes; self * 60; end def second; self; end def seconds; self; end



29
# File 'lib/sisfc/configuration.rb', line 29

def msec; self * 1E-3; end

#msecsObject



30
# File 'lib/sisfc/configuration.rb', line 30

def msecs; self * 1E-3; end