File: at.rb

package info (click to toggle)
ruby-fugit 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 300 kB
  • sloc: ruby: 3,363; makefile: 40
file content (21 lines) | stat: -rw-r--r-- 231 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module Fugit

  module At

    class << self

      def parse(s)

        ::EtOrbi.make_time(s) rescue nil
      end

      def do_parse(s)

        ::EtOrbi.make_time(s)
      end
    end
  end
end