File: real.rb

package info (click to toggle)
ruby-circuitbox 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140 kB
  • sloc: ruby: 533; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 184 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Circuitbox
  module TimeHelper
    module Real
      module_function

      def current_second
        ::Time.now.to_i
      end
    end
  end
end